Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.2)
E14256-03

Content Presenter Display Template Pagination Tags
Tag getPageCount


Description

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.

Examples

This example sets the current page count into a context attribute named 'pageCount':

<paginationTags:getPageCount var="pageCount"/>


Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body Contentscriptless
Display NamegetPageCount

Attributes
NameRequiredRequest-timeDescription
varfalsefalse The EL property to set in the request for retrieval.

Variables
No Variables Defined.


Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.2)
E14256-03

Copyright © 2010, Oracle. All rights reserved.