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 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.


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.