pagedList

Contains a PagedListData of objects to be rendered as a <ul>

Tag Information
Tag Class org.loom.tags.paged.PagedListTag
Body Content scriptless
Dynamic Attributes true
Example
<l:pagedList data="${action.customers}" linksPosition="both">
  <l:url action="Customers" event="edit">
     <l:param name="customer.id" value="${row.id}"/>
     <strong>${row.id}</strong> - ${row.firstName}
  </l:url>
</l:pagedList>

Attributes

Name Description Flags
action If set, this action will be used to generate the paged links. Default to the current action / event pair
rtexprvalue
addUriParams true to append all GET parameters included in the current request when building the table links, default true
rtexprvalue
alternateRows true to generate even/odd css classes for each row, default true
rtexprvalue
class HTML attribute
rtexprvalue
collection When set, this attribute will be converted to a single-paged data container. This is a convenient method when displaying non-paginated collections.
rtexprvalue
data the PagedListData object. Either this or listData should be set
rtexprvalue
event If set, this event will be used to generate the paged links. Default to the current action / event pair
rtexprvalue
hash If set, the table links will include this hash.
rtexprvalue
href If set, this link will be used as the paged link. Default to the current action / event pair
rtexprvalue
id HTML attribute.
rtexprvalue
if Set to false to skip tag execution.
rtexprvalue
indexName the name of the request attribute that will contain the current row index, default "index"
rtexprvalue
linksCount the number of page links to display, default 10
rtexprvalue
linksPosition Where to put the links bar. Possible values are top (default), bottom, both and none
rtexprvalue
mapping The mapping as action.event. This method is equivalent to setting action and event separately.
rtexprvalue
messagePrefix the message prefix to be used, default "paged."
rtexprvalue
overviewPosition Where to put the overview message. Possible values are top (default), bottom, both and none
rtexprvalue
renderIfEmpty false to render nothing if the list is empty. Default true
rtexprvalue
rowClass the HTML class of each generated TR. If set, any @{...} expression will be executed by the EL engine for each row
rtexprvalue
rowName the name of the request attribute that will contain the current row value, default "row"
rtexprvalue
style HTML attribute
rtexprvalue