hdp
Tag selectSortBy


This 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 'sortBy' 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 'sortBy' tag to the column header).

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



Tag Information
Tag Classorg.hdpagination.web.taglib.SelectSortByTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
actionIdtruetruejava.lang.StringBean identifier of the corresponding PaginationAction instance declared in Spring application context.
resendParamsfalsetruejava.lang.StringThis property is used to indicate whether the parameters of the previous http request should be sent again. This event is triggered when user clicks the pagination control to access the page of data. The default value is 'false'. If you want to keep all the original request parameters in subsequent pagination requests, you should set this property to 'true'.

The types of pagination control include:

1) pagination navigation links (e.g. Previous Next 1 2 3 4 5 6 7 8 First Last), rendered by <pageLinks> tag

2) available pages dropdown, rendered by <pagesDropdown> tag

3) goto page text field and submit button, rendered by <gotoPage> tag

4) sort hyperlink, rendered by <sortBy> tag

5) select sort dropdown, rendered by <selectSortBy> tag

styleClassfalsetruejava.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.
stylefalsetruejava.lang.StringSpecifies an inline style for the rendered dropdown (<select>). Refer to attribute 'style' in <select> HTML tag.
tabindexfalsetruejava.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.
titlefalsetruejava.lang.StringAdvisory title information about markup elements generated for the element (<select>). Refer to attribute 'title' in <select> HTML tag.
accesskeyfalsetruejava.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.