O'Reilly logo

Practical RichFaces by Max Katz

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

Chapter 6. Output Components

RichFaces offers a good number of out-of-the-box components for displaying data. This chapter will cover output components such as panels, tabbed panels, toggle panels, and modal panels. Be prepared for numerous examples as well as common usages such as how to use a modal panel to display a status message.

Using <rich:panel>

<rich:panel> is just a panel or a container for any other content. You can place anything you want inside it, such as text or any other JSF components. Here's what a simple one looks like:

Using <rich:panel>

The following code:

<rich:panel style="width:450px"> New York City (officially The City of New York) is the most ...

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