ICE Components
Tag commandSortHeader


The commandSortHeader component is used in conjunction with a dataTable. The commandSortHeader renders a clickable column header facet allowing the user to toggle the sort order of data in the table, either ascending or descending based on the values in the column.
The commandSortHeader can be used to provide a user-controlled data sorting capability to a dataTable.


Tag Information
Tag Classcom.icesoft.faces.component.commandsortheader.CommandSortHeaderTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
actionfalsefalsejava.lang.StringMethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a either a String or a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application.
actionListenerfalsefalsejava.lang.String

MethodExpression representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing where the event came from, but this can be useful in cases where a notification is needed that "some action happened".

arrowfalsefalsejava.lang.StringIndicates whether an arrow, that shows the sort direction should be rendered. Default: false
Note: This is deprecated. It no longer has any effect in 1.7. To alter the appearance of the arrow images, the following style classes need to be customized:
  • iceCmdSrtHdrAsc
  • iceCmdSrtHdrDesc
bindingfalsefalsejava.lang.StringThe value binding expression linking this component to a property in a backing bean
columnNamefalsefalsejava.lang.StringThe name of this column. This name must uniquely identify this column among all other (sortable) columns in the same data_table. The sortColumn attribute of the embedding data_table reflects the current sort column (see extended data_table).
disabledfalsefalsejava.lang.StringFlag indicating that this element must never receive focus or be included in a subsequent submit.
enabledOnUserRolefalsefalsejava.lang.StringIf user is in given role, this component will be rendered normally. If not, the component will be in disabled state.
idfalsefalsejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
immediatefalsefalsejava.lang.StringFlag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
renderedfalsefalsejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
renderedOnUserRolefalsefalsejava.lang.StringIf user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.
styleClassfalsefalsejava.lang.StringThe base name for all style classes. Default value is iceCmdSrtHdr if enabled and iceCmdSrtHdr-dis if disabled.
valuefalsefalsejava.lang.StringThe current value of this component.

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.