hdp
Tag selectSort
This 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.
| Tag Information |
| Tag Class | org.hdpagination.web.jsf.tag.SelectSortTag |
| TagExtraInfo Class | None |
| Body Content | JSP |
| Display Name | None |
| Attributes |
| Name | Required | Request-time | Type | Description |
| pagiDefinitionId | true | false | java.lang.String | Bean identifier of the corresponding PaginateDefinition instance declared in Spring application context. |
| styleClass | false | false | java.lang.String | Space-separated list of CSS style class(es) to be applied to the rendered dropdown (<select>). Refer to attribute 'class' in <select> HTML tag. |
| style | false | false | java.lang.String | Specifies an inline style for the rendered dropdown (<select>). Refer to attribute 'style' in <select> HTML tag. |
| tabindex | false | false | java.lang.String | Position of the element (<select>) in the tabbing order for the current document. This value must be an integer between 0 and 32767. Refer to attribute 'tabindex' in <select> HTML tag. |
| title | false | false | java.lang.String | Advisory title information about markup elements generated for the element (<select>). Refer to attribute 'title' in <select> HTML tag. |
| accesskey | false | false | java.lang.String | Access key that, when pressed, transfers focus to this element (<select>). Refer to attribute 'accesskey' in <select> HTML tag. |
| 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.