hdp
Tag sortLink


This 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.



Tag Information
Tag Classorg.hdpagination.web.jsf.tag.SortLinkTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
pagiDefinitionIdtruefalsejava.lang.StringBean identifier of the corresponding PaginateDefinition instance declared in Spring application context.
sortedColumntruefalsejava.lang.StringIt will be appended to "order by" clause of SQL or ORM statement. It's tag user's responsibility to make sure the value of this property is mapped to table column or Bean property correctly and satisfy the related Database SQL or ORM Query syntax.

This value must be a static value.

valuetruefalsejava.lang.StringColumn header(or title).
styleClassfalsefalsejava.lang.StringSpace-separated list of CSS style class(es) to be applied to the rendered hyperlink (<a>). Refer to attribute 'class' in <a> HTML tag.
stylefalsefalsejava.lang.StringSpecifies an inline style for the rendered hyperlink (<a>). Refer to attribute 'style' in <a> HTML tag.
tabindexfalsefalsejava.lang.StringPosition of the element (hyperlink <a>) in the tabbing order for the current document. This value must be an integer between 0 and 32767. Refer to attribute 'tabindex' in <a> HTML tag.
titlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for the element (hyperlink <a>). Refer to attribute 'title' in <a> HTML tag.
accesskeyfalsefalsejava.lang.StringAccess key that, when pressed, transfers focus to this element (hyperlink <a>). Refer to attribute 'accesskey' in <a> 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.