The JBoss RichFaces library includes a number of useful components for rendering panels in our views. Using panels is a nice way to organize visual elements in our user interface.
The RichFaces<rich:panel>
tag renders a basic panel component that can be used to group related controls or information together with a descriptive header. The<rich:panel>
tag supports a header
facet that defines the text to be rendered in the panel header.
<rich:panel> <f:facet name="header"> <h:outputText value="Panel Header" /> </f:facet> <h:outputText value="Panel content here." /> </rich:panel>
RichFaces also provides the<rich:panelBar>
tag that renders a panel bar component as a group of panels organized into a vertical layout. Each panel in the panel bar arrangement has a clickable header that toggles the panel between an expanded and collapsed state. The<rich:panelBar>
tag renders nested...