January 2013
Intermediate to advanced
328 pages
7h 14m
English
dataList presents a collection of data in the list layout, with several display types and features such as AJAX pagination.
A simple definition for a data list with a header facet for listing countries starting with the letter "A" would be as follows:
<p:dataList value="#{dataListController.countriesShort}" var="country" itemType="disc">
<f:facet name="header">
Countries starting with 'A'
</f:facet>
#{country}
</p:dataList>The appearance of the component would be as follows:

The type attribute defines how the list should be presented. The values for the attribute can be unordered, ordered, ...
Read now
Unlock full access