rich
Tag collapsiblePanel


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


Tag Information
Component type org.richfaces.CollapsiblePanel
Tag Name rich:collapsiblePanel
Renderer Type org.richfaces.CollapsiblePanelRenderer
Handler Class org.richfaces.view.facelets.html.CollapsiblePanelTagHandler

Attributes
Name Required Type Description
binding false javax.faces.component.UIComponent The value binding expression used to wire up this component to a component property of a JavaBean class
bodyClass false 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.
converter false javax.faces.convert.Converter Converter instance registered with this component.
dir false 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 boolean When true, the panel is expanded, when false, the panel is collapsed
header false 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 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 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 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 java.lang.String Code describing the language used in the generated markup for this component.
leftCollapsedIcon false java.lang.String The icon displayed on the left of the panel header when the panel is collapsed
leftExpandedIcon false java.lang.String The icon displayed on the left of the panel header when the panel is expanded
onbeforeswitch false java.lang.String The client-side script method to be called before the panel state is switched
onclick false java.lang.String Javascript code executed when a pointer button is clicked over this element.
ondblclick false java.lang.String Javascript code executed when a pointer button is double clicked over this element.
onmousedown false java.lang.String Javascript code executed when a pointer button is pressed down over this element.
onmousemove false java.lang.String Javascript code executed when a pointer button is moved within this element.
onmouseout false java.lang.String Javascript code executed when a pointer button is moved away from this element.
onmouseover false java.lang.String Javascript code executed when a pointer button is moved onto this element.
onmouseup false java.lang.String Javascript code executed when a pointer button is released over this element.
onswitch false java.lang.String The client-side script method to be called after the panel state is switched
rendered false 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 java.lang.String The icon displayed on the right of the panel header when the panel is collapsed
rightExpandedIcon false java.lang.String The icon displayed on the right of the panel header when the panel is expanded
style false java.lang.String CSS style(s) to be applied when this component is rendered.
styleClass false 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 org.richfaces.component.SwitchType The switch mode when a panel is activated. One of: "client", "server", "ajax". Default: "ajax"
title false java.lang.String Advisory title information about markup elements generated for this component.
toggleListener false javax.el.MethodExpression A Server-side MethodExpression to be called when the panel is toggled
value false java.lang.Object The current value of this component.


Output Generated by Tag Library Documentation Generator.