The panelCollapsible component is comprised of two parts: the content area, where its children can be displayed; and a header section, which can be clicked on, to cause the content area to collapse into not being visible, or expand to become visible. The panelCollapsible's state of being expanded or collapsed is fully controllable via its expanded attribute, which can be tied to a bean property through a ValueBinding.
Attributes |
Name | Required | Request-time | Type | Description |
actionListener | false | false | java.lang.String | Fired when a panel is expanded or collapsed |
binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean |
disabled | false | false | java.lang.String | Flag indicating that this element must never receive focus or be included in a subsequent submit. |
enabledOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, the component will be in disabled state. |
expanded | false | false | java.lang.String | True when panel is expanded, false when collapsed |
id | false | 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 | false | java.lang.String | 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. |
rendered | false | false | java.lang.String | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
renderedOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped. |
style | false | false | java.lang.String | CSS style |
styleClass | false | 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. The base name for all style classes. Default value is icePnlClpsbl The class names for the panel, the header, and the content are: Expanded - icePnlClpsbl
- icePnlClpsblHdr
- icePnlClpsblCnt
Collapsed - icePnlClpsblColpsd
- icePnlClpsblColpsdHdr
- icePnlClpsblColpsdCnt
Expanded and disabled - icePnlClpsbl-dis
- icePnlClpsblHdr-dis
- icePnlClpsblCnt-dis
Collapsed and disabled - icePnlClpsblColpsd-dis
- icePnlClpsblColpsdHdr-dis
- icePnlClpsblColpsdCnt-dis
|
tabindex | false | false | java.lang.String | Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767. |
toggleOnClick | false | false | java.lang.String | When true clicking on the header will expand or collapse the panel |
toggleOnInput | false | false | java.lang.String | When true clicking on a text input field in the header will expand or collapse the panel. |