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 hasPreviousPage


Description

This tag is based on if there is a 'previous' page within the result set or not. This tag can work two different ways. The first is if the 'var' attribute is set. If so, a boolean will be returned in the variable name corresponding to if there is a previous page or not. The other is if the 'var' attribute is not set. Then, the tag should be used with a body. If there is a 'previous' page, then the body of the tag will be display. If there is no 'previous' page, then the body will not be shown.

Examples

This example will render text if the paged result has a previous page:

<paginationTags:hasPreviousPage>
  This text will only be display if there is a previous page in the result set
</paginationTags:hasPreviousPage>


Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body Contentscriptless
Display NamehasPreviousPage

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.