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 Classorg.hdpagination.web.jsf.tag.SelectSortTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
pagiDefinitionIdtruefalsejava.lang.StringBean identifier of the corresponding PaginateDefinition instance declared in Spring application context.
styleClassfalsefalsejava.lang.StringSpace-separated list of CSS style class(es) to be applied to the rendered dropdown (<select>). Refer to attribute 'class' in <select> HTML tag.
stylefalsefalsejava.lang.StringSpecifies an inline style for the rendered dropdown (<select>). Refer to attribute 'style' in <select> HTML tag.
tabindexfalsefalsejava.lang.StringPosition 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.
titlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for the element (<select>). Refer to attribute 'title' in <select> HTML tag.
accesskeyfalsefalsejava.lang.StringAccess 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.