org.apache.tapestry.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
currentPageintRequiredpropThe current page number (indexed from 1).
rangeint5propNumber 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.
rowsPerPageintRequiredpropThe number of rows displayed per page.
sourceorg.apache.tapestry.grid.GridDataSourceRequiredpropThe 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).

Back to index