JBoss.orgCommunity Documentation
panelBar is used for grouping any content which is loaded on the client side and appears as groups divided on child panels after the header is clicked.
As it was mentioned above, panelBar is used for grouping any content on the client, thus its customization deals only with specification of sizes and styles for rendering.
"width" and "height" (both are 100% on default) attributes stand apart.
Style attributes are described further.
panelBar could contain any number of child panelBarItem components inside, which content is uploaded onto the client and headers are controls to open the corresponding child element.
Table of <rich:panelBar> attributes.
Table 6.115. Component Identification Parameters
Name | Value |
---|---|
component-type | org.richfaces.PanelBar |
component-class | org.richfaces.component.html.HtmlPanelBar |
component-family | org.richfaces.PanelBar |
renderer-type | org.richfaces.PanelBarRenderer |
tag-class | org.richfaces.taglib.PanelBarTag |
Table 6.116. Class name that define a component appearance
Class name | Class description |
---|---|
rich-panelbar | Defines styles for a wrapper <div> element of a component |
Table 6.117. Style component classes
A class attribute | A component element defined by an attribute |
---|---|
styleClass | Applicable to a whole component (together with headers) |
headerClass | Applicable to a header element |
contentClass | Applicable to a content |
On the component LiveDemo page you can see the example of <rich:panelBar> usage and sources for the given example.