O'Reilly logo

JSF 1.2 Components by Ian Hlavats

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Panel components

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.

Creating a basic panel

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>
Creating a basic panel

Rendering a panel bar

RichFaces ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required