C H A P T E R 7
Rich 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. Now, RichFaces offers a number of features above and beyond what the standard data table component provides, such as advanced models, lazy loading, sorting, filtering, skins, and partial-table updates.
JSF 2 provides two components to iterate over data: <h:dataTable>
and <ui:repeat>
. The <h:dataTable>
component generates an HTML <table>..</table>
structure. The <ui:repeat>
component allows you to iterate over collections wrapping with any HTML markup. However, when displaying collections in real enterprise applications, a simple table format ...
Get Practical RichFaces, Second Edition 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.