Project Documentation


Tag name: <s:sortableColumn>
UIComponent class: org.apache.myfaces.custom.table.SortableColumn
Tag class: org.apache.myfaces.custom.table.SortableColumnTag
Component type: org.apache.myfaces.SortableColumn
Component family: javax.faces.Column


Name Type Supports EL? Description
align String Yes {asc, desc} see org filterTable
binding String Only EL Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
dataType String Yes default=String {Number,Date,html,String} see org filterTable
escape Boolean Yes default=true escape text
field String Yes see org filterTable
format String Yes {asc, desc} see org filterTable
id String Yes An identifier for this particular component instance within a component view.

The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view

This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted.

rendered boolean Yes A boolean value that indicates whether this component should be rendered. Default value: true.
sort String Yes {asc, desc} see org filterTable
text String Yes column header text
valign String Yes {asc, desc} see org filterTable