The <rich:accordion> is a series of panels stacked on top of each other, each collapsed such that only the header
of the panel is showing. When the header of a panel is clicked, it is expanded to show the content of the panel. Clicking
on a different header will collapse the previous panel and epand the selected one. Each panel contained in a <rich:accordion>
component is a <rich:accordionItem> component.
@author akolonitsky
Attributes |
Name |
Required |
Type |
Description |
activeItem |
false |
java.lang.String |
Holds the active tab name. This name is a reference to the name identifier of the active child <rich:tab> component. |
binding |
false |
javax.faces.component.UIComponent |
The value binding expression used to wire up this component to a component property of a JavaBean class |
converter |
false |
javax.faces.convert.Converter |
Converter instance registered with this component. |
cycledSwitching |
false |
boolean |
Applicable when cycling through the tabs. If "true", then when the last tab is active, cycling to next will activate the first
tab, if "false", cycling to next will have not effect. The inverse applies for the first tab, and cycling to previous. Whether
to Default: false
|
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). |
height |
false |
java.lang.String |
The height of the panel |
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.
|
itemActiveHeaderClass |
false |
java.lang.String |
The CSS class applied to the panel header when the panel is active |
itemActiveLeftIcon |
false |
java.lang.String |
The icon displayed on the left of the panel header when the panel is active |
itemActiveRightIcon |
false |
java.lang.String |
The icon displayed on the right of the panel header when the panel is active |
itemChangeListener |
false |
javax.el.MethodExpression |
Occurs on the server side when an item is changed through Ajax using the server mode |
itemContentClass |
false |
java.lang.String |
A CSS class applied to each of the accordionItem children |
itemDisabledHeaderClass |
false |
java.lang.String |
The CSS class applied to the panel header when the panel is disabled |
itemDisabledLeftIcon |
false |
java.lang.String |
The icon displayed on the left of the panel header when the panel is disabled |
itemDisabledRightIcon |
false |
java.lang.String |
The icon displayed on the right of the panel header when the panel is disabled |
itemHeaderClass |
false |
java.lang.String |
The CSS class applied to the panel header |
itemInactiveHeaderClass |
false |
java.lang.String |
The CSS class applied to the panel header when the panel is not active |
itemInactiveLeftIcon |
false |
java.lang.String |
The icon displayed on the left of the panel header when the panel is not active |
itemInactiveRightIcon |
false |
java.lang.String |
The icon displayed on the right of the panel header when the panel is not active |
lang |
false |
java.lang.String |
Code describing the language used in the generated markup for this component. |
onbeforeitemchange |
false |
java.lang.String |
Points to the function to perform when before the switchable item is changed |
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. |
onitemchange |
false |
java.lang.String |
Points to the function to perform when the switchable item is changed. |
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. |
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.
|
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. |
width |
false |
java.lang.String |
The width of the panel |