Content Presenter Display Template Pagination Tags
Tag 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.
This example sets the current page count into a context attribute named 'pageCount':
<paginationTags:getPageCount var="pageCount"/>
Tag Information |
Tag Class | None |
TagExtraInfo Class | None |
Body Content | scriptless |
Display Name | getPageCount |
Attributes |
Name | Required | Request-time | Description |
var | false | false |
The EL property to set in the request for retrieval.
|
Variables |
No Variables Defined. |
Output Generated by
Tag Library Documentation Generator.
Copyright © 2008, ${product.vendor} and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.