|
Tag Summary |
| |
getCurrentPageNumber |
This tag returns the number of the page that the result set is currently on. For example,
if the user has paged to the thrid page of five, this tag will return 3. If the 'var' attribute
is set, then the current page number value will be set as a page variable with the specified name.
Otherwise, the value will be inlined into the HTML.
|
| |
getCurrentPageSetRange |
This tag returns the range of values that the current page is on. For example, if the current page
is 3 of 5, and the page size is set to 10, this tag will return a string that looks like "21 - 30"
If the 'var' attribute is set, then the page set range will be set as a page variable with the specified name.
Otherwise, the value will be inlined into the HTML.
|
| |
getPageCount |
This tag returns the total number of pages retrieved for the result set. For example, if there are 80
results returned, and the page size is set to ten, this tag will return "8" as that is the total number of result pages.
If the 'var' attribute is set, then the page count will be set as a page variable with the specified name.
Otherwise, the value will be inlined into the HTML.
|
| |
getResultCount |
This tag returns the total number of results found. For example, if there are 80 results found, this
tag will return "80". If the 'var' attribute is set, then the result count will be set as a page variable
with the specified name. Otherwise, the value will be inlined into the HTML.
|
| |
goToFirstPage |
This tag will render the wlp-left-double-12.gif (found in the commonui library) that is an anchor
which will take the user to the first page in the result set. If the user is on the first page (so there
is no previous page) this link will be disabled.
|
| |
goToLastPage |
This tag will render the wlp-right-double-12.gif (found in the commonui library) that is an anchor
which will take the user to the last page in the result set. If the user is on the last page (so there
is no next page) this link will be disabled.
|
| |
goToNextPage |
This tag will render the wlp-right-12.gif (found in the commonui library) that is an anchor
which will take the user to the next page in the result set. If the user is on the last page (so there
is no next page) this link will be disabled.
|
| |
goToPreviousPage |
This tag will render the wlp-left-12.gif (found in the commonui library) that is an anchor
which will take the user to the previous page in the result set. If the user is on the first page (so there
is no previous page) this link will be disabled.
|
| |
hasNextPage |
This tag is based on if there is a 'next' page within the result set or not. This tag can work
two different ways. The first is if the 'var' attribute is set. If so, a boolean will be
returned in the variable name corresponding to if there is a next page or not. The other is
if the 'var' attribute is not set. Then, the tag should be used with a body. If there is
a 'next' page, then the body of the tag will be display. If there is no 'next' page, then the
body will not be shown.
|
| |
hasPreviousPage |
This tag is based on if there is a 'previous' page within the result set or not. This tag can work
two different ways. The first is if the 'var' attribute is set. If so, a boolean will be
returned in the variable name corresponding to if there is a previous page or not. The other is
if the 'var' attribute is not set. Then, the tag should be used with a body. If there is
a 'previous' page, then the body of the tag will be display. If there is no 'previous' page, then the
body will not be shown.
|
paginationControls |
This tag will render a full set of pagination controls. This can be used instead of constructing
your own pagination layout. This tag does just call the other pagination tags, so there is nothing
special about this tag vs the other pagination tags. It is meant for a quick way to add pagination to
a template
|
Copyright © 2010, Oracle. All rights reserved.