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.


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

Attributes
NameRequiredRequest-timeTypeDescription
activationModenotrueorg.icefaces.mobi.component.dataview.ActivationModeThis enumeration defines the operation of the detail region. When set to 'server' (the default) the detail region may contain arbitrary JSF components and is rendered by an ajax request. When set to 'client' an activation 'renders' the detail region by updating, entirely on the client, an existing rendering with the dynamic attributes unique to an iterative rendering. The components and attributes supported for client encoding are limited, though growing with new releases and user desire.Specifics can be found on our wiki at: http://www.icesoft.org/wiki/display/icemobile/DataView Default = 'org.icefaces.mobi.component.dataview.ActivationMode.server'.
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.
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.
dupHeaderDelaynotruejava.lang.Integertime in ms for the duplicated and calculated headers to disappear. Default = '50'.
fixedHeadersnotruebooleanSetting this to true (default) will cause the column headers to remain fixed while scrolling the data region. Default = 'true'.
idnotruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
reactiveColumnVisibilitynotruebooleanEnabling causes the table region to display as many columns as possible in the given device width, hiding the remainder, following priority given with the 'reactivePriority' attribute of DataViewColumnModel. Default = 'false'.
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'.
rowStylenotruejava.lang.String 
rowStyleClassnotruejava.lang.String 
scrollOnRowSelectionnotruebooleanSetting this to true (default) will cause the DataView component to automatically scroll the selected row to the top of the data list. 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.