org.apache.tapestry5.corelib.components.GridPager

Generates a series of links used to jump to a particular page index within the overall data set.

[JavaDoc]

Component Parameters

NameTypeFlagsDefaultDefault PrefixDescription
currentPageintRequired, NOT Allow NullpropThe current page number (indexed from 1).
rangeintNOT Allow Null5propNumber of pages before and after the current page in the range. The pager always displays links for 2 * range + 1 pages, unless that's more than the total number of available pages.
rowsPerPageintRequired, NOT Allow NullpropThe number of rows displayed per page.
sourceGridDataSourceRequired, NOT Allow NullpropThe source of the data displayed by the grid (this is used to determine how many rows are available, which in turn determines the page count).
zoneStringNOT Allow NullpropIf not null, then each link is output as a link to update the specified zone.

Back to index