Content Presenter Display Template Pagination Tags
Tag getCurrentPageNumber


Description

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.

Examples

This example sets the current page number into a context attribute named 'pageNumber':

<paginationTags:getCurrentPageNumber var="pageNumber"/>


Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body Contentscriptless
Display NamegetCurrentPageNumber

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, ${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.