RichFaces ( Legacy URL )
Tag dataTable


The <rich:dataTable> component for tables rendering that allows choosing data from a model and obtains built-in support of Ajax updates.


Tag Information
Tag Classorg.richfaces.taglib.DataTableTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
ajaxKeysfalsefalsejavax.el.ValueExpression
(must evaluate to java.util.Set)
This attribute defines row keys that are updated after an AJAX request
alignfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Deprecated. This attribute specifies the position of the table with respect to the document. The possible values are "left", "center" and "right". The default value is "left".
bgcolorfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Deprecated. This attribute sets the background color for the document body or table cells. This attribute sets the background color of the canvas for the document body (the BODY element) or for tables (the TABLE, TR, TH, and TD elements). Additional attributes for specifying text color can be used with the BODY element. This attribute has been deprecated in favor of style sheets for specifying background color information
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The attribute takes a value-binding expression for a component property of a backing bean
borderfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This attributes specifies the width of the frame around a component. Default value is "0".
captionClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component caption
captionStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style rules to be applied to the component caption
cellpaddingfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This attribute specifies the amount of space between the border of the cell and its contents. Default value is "0".
cellspacingfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This attribute specifies the amount of space between the border of the cell and its contents. The attribute also specifies the amount of space to leave between cells. Default value is "0".
columnClassesfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the columns of the table. If the CSS class names are comma-separated, each class will be assigned to a particular column in the order they follow in the attribute. If you have less class names than columns, the class will be applied to every n-fold column where n is the order in which the class is listed in the attribute. If there are more class names than columns, the overflow ones are ignored.
columnsfalsefalsejavax.el.ValueExpression
(must evaluate to int)
Specifies the number of columns
columnsWidthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Comma-separated list of width attribute for every column. Specifies a default width for each column in the table. In addition to the standard pixel, percentage, and relative values, this attribute allows the special form "0*" (zero asterisk) which means that the width of the each column in the group should be the minimum width necessary to hold the column's contents. This implies that a column's entire contents must be known before its width may be correctly computed. Authors should be aware that specifying "0*" will prevent visual user agents from rendering a table incrementally
componentStatefalsefalsejavax.el.ValueExpression
(must evaluate to org.ajax4jsf.model.DataComponentState)
It defines EL-binding for a component state for saving or redefinition
dirfalsefalsejavax.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)
firstfalsefalsejavax.el.ValueExpression
(must evaluate to int)
A zero-relative row number of the first row to display
footerClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component footer
framefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This attribute specifies which sides of the frame surrounding a table will be visible. Possible values: "void", "above", "below", "hsides", "lhs", "rhs", "vsides", "box" and "border". The default value is "void".
headerClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component header
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
langfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Code describing the language used in the generated markup for this component
onRowClickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the row is clicked
onRowContextMenufalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a right mouse button is clicked over the row. Returning false prevents default browser context menu from being displayed.
onRowDblClickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the row is double-clicked
onRowMouseDownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is pressed down over the row
onRowMouseMovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved within the row
onRowMouseOutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved away from the row
onRowMouseOverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved onto the row
onRowMouseUpfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is released over the row
onclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the element is clicked
ondblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the element is double-clicked
onkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is pressed down over the element
onkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is pressed over the element and released
onkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is released
onmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is pressed down over the element
onmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved within the element
onmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved away from the element
onmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved onto the element
onmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is released
reRenderfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Id['s] (in format of call UIComponent.findComponent()) of components, rendered in case of AjaxRequest caused by this component. Can be single id, comma-separated list of Id's, or EL Expression with array or Collection
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If "false", this component is not rendered
rowClassesfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the rows of the table. If the CSS class names are comma-separated, each class will be assigned to a particular row in the order they follow in the attribute. If you have less class names than rows, the class will be applied to every n-fold row where n is the order in which the class is listed in the attribute. If there are more class names than rows, the overflow ones are ignored.
rowKeyConverterfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter)
Converter for a RowKey object.
rowKeyVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attribute provides access to a row key in a Request scope
rowsfalsefalsejavax.el.ValueExpression
(must evaluate to int)
A number of rows to display, or zero for all remaining rows in the table
rulesfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This attribute specifies which rules will appear between cells within a table. The rendering of rules is user agent dependent. Possible values: * none: No rules. This is the default value. * groups: Rules will appear between row groups (see THEAD, TFOOT, and TBODY) and column groups (see COLGROUP and COL) only. * rows: Rules will appear between rows only. * cols: Rules will appear between columns only. * all: Rules will appear between all rows and columns
sortModefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Defines mode of sorting. Possible values are 'single' for sorting of one column and 'multi' for some.
sortPriorityfalsefalsejavax.el.ValueExpression
(must evaluate to java.util.Collection)
Defines a set of columns ids in the sorting order
stateVarfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attribute provides access to a component state on the client side
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style rules to be applied to the component
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute.
titlefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Advisory title information about markup elements generated for this component
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The current value for this component
varfalsefalsejava.lang.StringA request-scope attribute via which the data object for the current row will be used when iterating
widthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This attribute specifies the desired width of the entire table and is intended for visual user agents. When the value is percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent

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.