columns (RichFaces JSF components library Tag library documentation)
Keywords: $title

Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces ( Legacy URL )
Tag columns

The

Tag Information
Tag Class | org.richfaces.taglib.ColumnsTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
begin | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Contains the first iteration item
breakBefore | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | if "true" next column begins from the first row
colspan | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Corresponds to the HTML colspan attribute
columns | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Number of columns to be rendered
comparator | false | false | `javax.el.ValueExpression` (must evaluate to `java.util.Comparator`) | Defines value binding to the comparator that is used to compare the values
dir | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
end | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Contains the last iteration item
filterBy | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Defines iterable object property which is used when filtering performed.
filterEvent | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event for filter input that forces the filtration (default value is "onchange")
filterExpression | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | Attribute defines a bean property which is used for filtering of a column
filterMethod | false | false | `javax.el.MethodExpression` (signature must match `boolean filterMethod(java.lang.Object)`) | This attribute is defined with method binding. This method accepts on Object parameter and return boolean value
filterValue | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines current filtering value
footerClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Assigns one or more space-separated CSS class names to any footer generated for this component
headerClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Assigns one or more space-separated CSS class names to any header generated for this component
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
index | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | The current counter
label | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Column label for drag indicator. Usable only for extendedDataTable component
lang | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Code describing the language used in the generated markup for this component
rendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | Attribute defines if component should be rendered. Default value is "true".
rowspan | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Corresponds to the HTML rowspan attribute
selfSorted | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | Manages if the header of the column is clickable, icons rendered and sorting is fired after click on the header. You need to define this attribute inside
sortBy | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Defines a bean property which is used for sorting of a column. This attribute used with
sortExpression | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines a bean property which is used for sorting of a column and used only with
sortIcon | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines sort icon. The value for the attribute is context related.
sortIconAscending | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines sort icon for ascending order. The value for the attribute is context related.
sortIconDescending | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines sort icon for descending order. The value for the attribute is context related.
sortOrder | false | false | `javax.el.ValueExpression` (must evaluate to `org.richfaces.model.Ordering`) | SortOrder is an enumeration of the possible sort orderings. Default value is "UNSORTED"
sortable | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | Boolean attribute. If "true" it's possible to sort the column content after click on the header. Default value is "true"
style | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style rules to be applied to the component
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute.
title | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Advisory title information about markup elements generated for this component
value | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | The current value for this component
var | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | The current variable
visible | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | The attribute is used to define whether the component is visible or not. The default value is "true".
width | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Attribute defines width of column.

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

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.