gd
Tag pager


Calculate paging information for use by another component.


Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
pagefalsefalsejavax.el.ValueExpression
(must evaluate to int)
The current page number. If not given, defaults to 1.
pageSizefalsefalsejavax.el.ValueExpression
(must evaluate to int)
The number of results that will be displayed per page. If not given, defaults to 10.
targettruefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
An EL expression into which the paging information will be stored. The paging information is stored in a bean with the following properties:
  • page - the current actual page number (if the requested page is past the end, it will be clamped to this value
  • totalPages - the total number of pages available (0 for an empty data set)
  • pageSize - the number of results per page
  • thisPageSize - the number of results on the current page
  • firstPage - a boolean that is true if this is the first page
  • lastPage - a boolean that is true if this is the last page
  • first - the index of the first item in the collection to display
valuetruefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
An EL expression that contains the collection or map to be evaluated.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.