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.


Output Generated by Tag Library Documentation Generator.

Copyright © 2008 BEA Systems, Inc. All Rights Reserved.