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 ...
Get Practical RichFaces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.