Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces
Tag columns

The <rich:columns> is a component that allows to create a dynamic set of columns from your model.

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`) | 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`) | 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`) | Space-separated list of CSS style class(es) that are be applied to any footer generated for this table
headerClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) that are be applied to any header generated for this table
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`) | If "false", this component is not rendered
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 <rich:dataTable> component
sortBy | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Attribute defines a bean property which is used for sorting of a column
sortExpression | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | DEPRECATED(use sortBy)Attribute defines a bean property which is used for sorting of a column
sortIcon | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines sort icon
sortIconAscending | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines sort icon in ascending order
sortIconDescending | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines sort icon in descending order
sortOrder | false | false | `javax.el.ValueExpression` (must evaluate to `org.richfaces.model.Ordering`) | SortOrder is an enumeration of the possible sort orderings.
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(s) is/are to be applied when this component is rendered
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | 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.