o
Tag columns


The Columns component is used to specify dynamic number of columns in the dataTable or treeTable components. Child components of the tag are used to render each cell. All of the attributes of tag are analogous to their counterparts in the tag but they have one valuable difference - an ability for the attributes to be specified as value binding expressions that allow specifying column attributes on a per-column basis. When specify child components of the tag, the "var" request-scope variables from the and tags can be used (apart form "value" and "var" attributes). Component can be specified only as a child tag for the dataTable or treeTable.


Tag Information
Tag Classorg.openfaces.taglib.jsp.table.ColumnsJspTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
alignfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe alignment of the dynamic column content. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
bodyClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the dynamic column's body. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
bodyOnclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the dynamic column's body. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
bodyOndblclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the dynamic column's body. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
bodyOnmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user clicks the mouse button over the dynamic column's body. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
bodyOnmousemovefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer over the dynamic column's body. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
bodyOnmouseoutfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer away from the dynamic column's body. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
bodyOnmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer onto the dynamic column's body. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
bodyOnmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases the mouse button over the dynamic column's body. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
bodyStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the dynamic column's body. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
columnIdfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
onlynullA value-binding expression that should reference an identifier for each dynamic column. You can use a column data variable specified in the "var" in the expression for this attribute. Note that column IDs evaluated for columns inside the o:columns tag are used in the same way as "id" attributes of ordinary tags, so the identifiers evaluated using this expression should be unique in bounds of the containing table.
columnRenderedfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not each dynamic column is visible. Can be specified right on the page (one and the same value for all dynamic columns is used) or as a value-binding expression. You can use a column data variable specified in the "var" in the expression for this attribute.
fixedfalsejavax.el.ValueExpression
(must evaluate to boolean)
truenoneApplicable only when horizontal scrolling is enabled for a table. Assigning true to this attribute "fixes" the column which means that it is excluded from horizontal scrolling and is always visible regardless of scroll position.
footerfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe value that can serve as a convenience substitution for specifying in the column's "footer" facet.
footerClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the dynamic column's footer. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
footerOnclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the dynamic column's footer. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
footerOndblclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the dynamic column's footer. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
footerOnmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user clicks the mouse button over the dynamic column's footer. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
footerOnmousemovefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer over the dynamic column's footer. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
footerOnmouseoutfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer away from the dynamic column's footer. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
footerOnmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer onto the dynamic column's footer. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
footerOnmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA value-binding expression that should reference JavaScript code that should be executed when the user releases the mouse button over the dynamic column's footer. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
footerStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the dynamic column's footer. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
headerfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe value that can serve as a convenience substitution for specifying in the column's "header" facet, or serve for identifying the column name in such components as or . You can use a column data variable specified in the "var" in the expression for this attribute.
headerClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
headerOnclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the dynamic column's header. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
headerOndblclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the dynamic column's header. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
headerOnmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user clicks over the dynamic column's header with either mouse button. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
headerOnmousemovefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer over the dynamic column's header. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
headerOnmouseoutfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer away from the dynamic column's header. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
headerOnmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer onto the dynamic column's header. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
headerOnmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases the mouse button over the dynamic column's header. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
headerStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the dynamic column's header. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
minResizingWidthfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullApplicable only when column resizing is enabled for a table. Specifies the minimum width that this column can take when the user resizes this column. It can be specified using any CSS units except percent. This attribute can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
onclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the dynamic column. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
oncontextmenufalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses right mouse button over the component (or performs the other context menu invocation action depending on the platform).
ondblclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the dynamic column. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
onmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user clicks over the dynamic column with either mouse button. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
onmousemovefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer over the dynamic column. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
onmouseoutfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer away from the dynamic column. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
onmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer onto the dynamic column. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
onmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases the mouse button over the dynamic column. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
resizablefalsejavax.el.ValueExpression
(must evaluate to boolean)
truenoneApplicable only when column resizing is enabled for a table. This attribute can be used to disable manual resizing for a particular column. It can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
sortingComparatorfalsejavax.el.ValueExpression
(must evaluate to java.util.Comparator)
onlynullA value-binding expression that should reference a comparator for comparing the values provided by the "sortingExpression" attribute. You can use a column data variable specified in the "var" in the expression for this attribute.
sortingEnabledfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not each dynamic column is sortable. Can be specified right on the page (one and the same value for all dynamic columns is used) or as a value-binding expression. You can use a column data variable specified in the "var" in the expression for this attribute.
sortingExpressionfalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
onlynullA value-binding expression that should reference a row's value that is used during sorting. You can use a column data variable specified in the "var" in the expression for this attribute. Specifying this attribute makes all dynamic columns to be sortable. Some dynamic columns can be made non-sortable by using the "sortingEnabled" attribute if needed.
stylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the entire dynamic column. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
styleClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the entire dynamic column. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
subHeaderClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the cell in the sub-header row. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
subHeaderStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the cell in the sub-header row. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
valignfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe vertical alignment of the dynamic column content. Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.
valuefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
onlynullSpecifies an array or a collection of objects that serve as column data objects. tag results in adding one column per each object found in this collection.
vartruejavax.el.ValueExpression
(must evaluate to java.lang.String)
falsenullThe name of the request-scope variable under which the current column data object is available when evaluating value binding expressions specified in this tag's attributes.
widthfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe width of the dynamic column. Can be specified in any units (px, mm, em, etc.). Can be specified as a value-binding expression that uses a column data variable specified in the "var" attribute.

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.