# rich

## Tag collapsiblePanel

- Description:

    The <rich:collapsiblePanel> component is a collapsible panel that shows or hides content when the header bar is activated. It is a simplified version of <rich:togglePanel> component.

    @author akolonitsky

- Component Information
  Info | Value
  --- | ---
  Component Type | `org.richfaces.CollapsiblePanel`
  Handler Class | `org.richfaces.view.facelets.html.CollapsiblePanelTagHandler`
  Renderer Type | `org.richfaces.CollapsiblePanelRenderer`
  Description | The <rich:collapsiblePanel> component is a collapsible panel that shows or hides content when the header bar is activated. It is a simplified version of <rich:togglePanel> component. @author akolonitsky

- Attributes
  Name | Required | Type | Description
  --- | --- | --- | ---
  `binding` | `false` | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The value binding expression used to wire up this component to a component property of a JavaBean class
  `bodyClass` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) to be applied to the panel content. This value must be passed through as the "class" attribute on generated markup.
  `dir` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
  `expanded` | `false` | `javax.el.ValueExpression` (must evaluate to `boolean`) | When true, the panel is expanded, when false, the panel is collapsed
  `header` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Provides the text on the panel header. The panel header is all that is visible when the panel is collapsed. Alternatively the header facet could be used in place of the header attribute. This would allow for additional styles and custom content to be applied to the tab.
  `headerClass` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) to be applied to the panel header. This value must be passed through as the "class" attribute on generated markup.
  `id` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
  `immediate` | `false` | `javax.el.ValueExpression` (must evaluate to `boolean`) | Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
  `lang` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Code describing the language used in the generated markup for this component.
  `leftCollapsedIcon` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The icon displayed on the left of the panel header when the panel is collapsed
  `leftExpandedIcon` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The icon displayed on the left of the panel header when the panel is expanded
  `onbeforeswitch` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client-side script method to be called before the panel state is switched
  `onclick` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is clicked over this element.
  `ondblclick` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is double clicked over this element.
  `onmousedown` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is pressed down over this element.
  `onmousemove` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is moved within this element.
  `onmouseout` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is moved away from this element.
  `onmouseover` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is moved onto this element.
  `onmouseup` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is released over this element.
  `onswitch` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client-side script method to be called after the panel state is switched
  `rendered` | `false` | `javax.el.ValueExpression` (must evaluate to `boolean`) | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
  `rightCollapsedIcon` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The icon displayed on the right of the panel header when the panel is collapsed
  `rightExpandedIcon` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The icon displayed on the right of the panel header when the panel is expanded
  `style` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) to be applied when this component is rendered.
  `styleClass` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
  `switchType` | `false` | `javax.el.ValueExpression` (must evaluate to `org.richfaces.component.SwitchType`) | The switch mode when a panel is activated. One of: "client", "server", "ajax". Default: "ajax"
  `title` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Advisory title information about markup elements generated for this component.
  `toggleListener` | `false` | `javax.el.ValueExpression` (must evaluate to `javax.el.MethodExpression`) | A Server-side MethodExpression to be called when the panel is toggled

Output generated by Vdldoc View Declaration Language Documentation Generator.