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 7. Data Iteration Components

If you know how to use the standard JSF <h:dataTable> component, then you basically know how to use any data iteration components available in RichFaces. Of course, RichFaces offers a number of features above what the standard data table component provides, such as skin-nability and partial-table updates.

Let's quickly review how the standard <h:dataTable> works. Basically, the component is bound to a collection and iterates over the collection with the help of the var attribute value. Using <h:column>, you can specify one or more columns depending on the properties that are available in the object. For example:

<rich:panel style="width:500px"> <f:facet name="header"> Using h:dataTable </f:facet> <h:dataTable ...

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