Create new RichFaces Documentation Jira issue

This will launch the RichFaces Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

6.10.3. < rich:panel > available since 3.0.0

The component implements a bordered rectangular panel with or without header.


The component groups page contents into notional blocks. Borders separate this content visually from the rest of page. To define the <rich:panel> on a page the following code will be enough:


<rich:panel />

The result:


The <rich:panel> supports header facet that defines header and text label on it. Besides that there is "header" attribute that does the same job. The following two entries


<-- A -->
<rich:panel header="I'm panel header" />

<-- B -->
<rich:panel>
      <f:facet name="header">
            <h:outputText value="I'm panel header"/>
      </f:facet>
</rich:panel>

have the same output:


Table of <rich:panel> attributes.





You can find all necessary information about style classes redefinition in Definition of Custom Style Classes section.

Visit Panel page at RichFaces LiveDemo for examples of component usage and their sources.

If you have any questions or ideas regarding the <rich:panel> tell about them at the RichFaces Users Forum.