org.chenillekit.tapestry.core.components.Pager

Blatant copy and paste of org.apache.tapestry5.corelib.components.GridPager with modifications.

[JavaDoc]

Component Parameters

Name Type Flags Default Default Prefix Description
currentPage int NOT Allow Null prop The current page number (indexed from 1).
for String NOT Allow Null literal If this pager is in a custom position it must provide the id of the PagedLoop it is associated with.
range int NOT Allow Null 5 prop Number 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.
rowsPerPage int NOT Allow Null prop The number of rows displayed per page.
source org.chenillekit.tapestry.core.internal.PagedSource NOT Allow Null prop The source of the data displayed by the PagedList (this is used to determine how many rows are available, which in turn determines the page count).

Back to index