Mobile Components
Tag dataView


The DataView component renders a table region for iterative output using columns defined with the required DataViewColumns component child, and a detail region for extensive viewing (and editing) of the row objects of the table model. The detail regionis defined with the DataViewDetails child component and it's contents are displayed when a row of table region is activated, typically by a row tap.When using ajax, the detail region may contain arbitrary JSF components and is dynamically rendered with the ajax request. When not using ajax, the detail region display logic is done entirely in the client, from an existing rendering of the details region for each row. The components and attributes supported for client-mode rendering are limited, mostly consisting of the standard h:* components.
Client Events
NameDescriptionSupported Classes for ArgumentDefault Event Scopes
selectFired when a row is selected. It enables server-side updates of the details area.javax.faces.event.AjaxBehaviorEventexecute=@this render=@all
Client events can be used with Client Behaviors and the ace:ajax tag.


Tag Information
Tag Classorg.icefaces.mobi.component.dataview.DataViewTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
activeRowIndexnotruejava.lang.IntegerActiveRowIndex property allows control of the row object index currently displayed in the detail region. The detail region components instances are not updated until DataView.initDetailContext() is called. initDetailContext is regularly called within the component phase iterations. A value of -1 (or any negative value) is interpreted as no row being active at that moment.
bindingnotruejavax.el.ValueExpressionUsing an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
disablednotruebooleanDisables this component, so it does not receive focus or get submitted.
idnotruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
renderednotruebooleanReturn true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'.
rowIndexVarnotruejava.lang.StringDefine the Expression Language variable name to be given to the index of the row object during iterative rendering, either in the ValueExpressions of a DataViewColumnModel defining a table cell or within the components of the detail region.
rowStripenotruebooleanRenders cell background shading on the odd numbered rows.
rowStrokenotruebooleanRenders faint bottom border to each row. Default = 'true'.
stylenotruejava.lang.StringSets the CSS style definition to be applied to this component.
styleClassnotruejava.lang.StringSets the CSS class to apply to this component.
valuenotruejava.lang.ObjectDefine the index-based data model of DataView, currently supported types include List and instances of DataViewLazyDataModel.
varnotruejava.lang.StringDefine the Expression Language variable name to be given to the row object during iterative rendering, either in the ValueExpressions of a DataViewColumnModel defining a table cell or within the components of the detail region.

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.