hdp


Standard Syntax:
     <%@ taglib prefix="hdp" uri="http://www.hdpagination.org/tags/jsf" %>

XML Syntax:
     <anyxmlelement xmlns:hdp="http://www.hdpagination.org/tags/jsf" />

HDPagination (1.3) Tag Library for JSF(JavaServer Faces) 1.x

Tag Library Information
Display NameNone
Version1.1
Short Namehdp
URIhttp://www.hdpagination.org/tags/jsf
 

Tag Summary
paginateLinkThis JSF Tag is used to render pagination navigation links (e.g. Previous Next 1 2 3 4 5 6 7 8 First Last). Layout of the links is configurable via injecting different implementation instance of org.hdpagination.config.PageLinksPattern interface into org.hdpagination.config.GlobalConfig. There are some pattern implementation classes available to choose in package 'org.hdpagination.config.pattern'.

Unless otherwise specified, all attributes accept static values or EL expressions.

sortLinkThis JSF Tag is used to render the column header with hyperlink (<a>) in a search results table. This allows the user to sort the search results by this column. By default, when the column header is clicked and the current search result is not sorted by that column, then the result will be displayed in ascending order. The search results will be toggled between ascending and descending order every time the column header is clicked.

Unless otherwise specified, all attributes accept static values or EL expressions.

selectPageThis JSF Tag is used to render a dropdown (<select>) with all available pages, which allows the user to navigate to different pages.

Unless otherwise specified, all attributes accept static values or EL expressions.

goToPageThis JSF Tag is used to render a text box along with either a submit button, hyperlink, or image link. The button, hyperlink, or image link is used to submit the request and navigate to the page specified in the text box. The decision to render the button, hyperlink, or image link relies on the following rule:

If property 'imgSrc' is specified, then an image link (<img> tag with enclosing <a> tag) is rendered. Otherwise, if property 'linkLabel' is specified, the hyperlink (text with enclosing tag <a>) is rendered. If none of these are specified, the button is rendered by default.

Unless otherwise specified, all attributes accept static values or EL expressions.

selectSortThis JSF tag is used to render a dropdown (<select>) to allow the user to sort the search results by specified column in either ascending or descending order.

This tag is an alternative of the 'sortLink' tag which applies a sorting hyperlink to the column header in a search results table. This tag can be useful in some cases where there is no column header in the search results table (as a result you can not apply the 'sortLink' tag to the column header).

The 'selectSort' tag should be used together with 'sortOption' tag. 'sortOption' tags should be nested inside 'selectSort' tag and each 'sortOption' will render as a <option> HTML tag.

Unless otherwise specified, all attributes accept static values or EL expressions.

sortOptionThis JSF tag ('sortOption') is a selection item (<option>) and must be nested inside the 'selectSort' Tag. It renders this selection item (<option>) for the dropdown (<select>).

Unless otherwise specified, all attributes accept static values or EL expressions.

 


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