## s
Tag autoUpdateDataTable

Extended data_table that adds some additional features to the standard data_table action: see attribute descriptions for preserveDataModel, sortColumn, sortAscending and preserveSort.

Tag Information
Tag Class | org.apache.myfaces.custom.autoupdatedatatable.AutoUpdateDataTableTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
align | false | false | `java.lang.String` | No Description
bgcolor | false | false | `java.lang.String` | No Description
binding | false | false | `java.lang.String` | Component binding.
border | false | false | `java.lang.String` | No Description
cellpadding | false | false | `java.lang.String` | No Description
cellspacing | false | false | `java.lang.String` | No Description
columnClasses | false | false | `java.lang.String` | No Description
datafld | false | false | `java.lang.String` | No Description
dataformatas | false | false | `java.lang.String` | No Description
datasrc | false | false | `java.lang.String` | No Description
dir | false | false | `java.lang.String` | No Description
enabledOnUserRole | false | false | `java.lang.String` | If user is in given role, this component will be rendered normally. If not, no hyperlink is rendered but all nested tags (=body) are rendered.
first | false | false | `java.lang.String` | No Description
footerClass | false | false | `java.lang.String` | No Description
forceId | false | false | `java.lang.String` | If true, this component will force the use of the specified id when rendering.
forceIdIndex | false | false | `java.lang.String` | If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.)
frame | false | false | `java.lang.String` | No Description
frequency | false | false | `java.lang.String` | Defines in seconds the interval of reloads. if no value is specified 2 seconds will be default.
headerClass | false | false | `java.lang.String` | No Description
id | false | false | `java.lang.String` | Every component may have an unique id. Automatically created if omitted.
lang | false | false | `java.lang.String` | No Description
onclick | false | false | `java.lang.String` | No Description
ondblclick | false | false | `java.lang.String` | No Description
onkeydown | false | false | `java.lang.String` | No Description
onkeypress | false | false | `java.lang.String` | No Description
onkeyup | false | false | `java.lang.String` | No Description
onmousedown | false | false | `java.lang.String` | No Description
onmousemove | false | false | `java.lang.String` | No Description
onmouseout | false | false | `java.lang.String` | No Description
onmouseover | false | false | `java.lang.String` | No Description
onmouseup | false | false | `java.lang.String` | No Description
preserveDataModel | false | false | `java.lang.String` | Indicates whether the state of the whole DataModel should be saved and restored. Default: false
preserveSort | false | false | `java.lang.String` | Indicates whether the state of the sortColumn and sortAscending attribute should be saved and restored and written back to the model during the update model phase. Default: true
previousRowDataVar | false | false | `java.lang.String` | A parameter name, under which the previous RowData Object is set in request scope similar to the rowIndexVar and rowCountVar parameters. Mind that the value of this request scope attribute is null in the first row or when isRowAvailable returns false for the previous row.
rendered | false | false | `java.lang.String` | If false, this component will not be rendered.

renderedIfEmpty

false

false

`java.lang.String`

Indicates whether this table should be rendered if the underlying DataModel is empty. You could as well use rendered="#{not empty bean.list}", but this one causes the getList method of your model bean beeing called up to five times per request, which is not optimal when the list is backed by a DB table. Using renderedIfEmpty="false" solves this problem, because the MyFaces extended HtmlDataTable automatically caches the DataModel and calles the model getter only once per request. Default: true

rowClasses | false | false | `java.lang.String` | No Description
rowCountVar | false | false | `java.lang.String` | A parameter name, under which the rowCount is set in request scope similar to the var parameter.
rowIndexVar | false | false | `java.lang.String` | A parameter name, under which the current rowIndex is set in request scope similar to the var parameter.
rowOnMouseOut | false | false | `java.lang.String` | Defines a JavaScript onmouseout event handler for each table row
rowOnMouseOver | false | false | `java.lang.String` | Defines a JavaScript onmouseover event handler for each table row
rows | false | false | `java.lang.String` | No Description
rules | false | false | `java.lang.String` | No Description
sortAscending | false | false | `java.lang.String` | Value reference to a model property that gives the current sort direction.
sortColumn | false | false | `java.lang.String` | Value reference to a model property that gives the current sort column name.
style | false | false | `java.lang.String` | No Description
styleClass | false | false | `java.lang.String` | Corresponds to the HTML class attribute.
summary | false | false | `java.lang.String` | No Description
title | false | false | `java.lang.String` | No Description
value | false | false | `java.lang.String` | Supported types see JSF Spec 4.1.3
var | true | false | `java.lang.String` | No Description
visibleOnUserRole | false | false | `java.lang.String` | If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.
width | false | false | `java.lang.String` | No Description

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.