Mobile Components
Tag contentStackMenu


contentStackMenu renders a menu represented by a collection of contentMenuItems and is meant to be used with a contentStack component for layout and navigation through the designated contentStack. When in a small view, the contentStackMenu is meant to be within one of the contentPane children of the contentStack. When in a large view with splitPane, it is meant to be a sibling to the contentStack and not within a contentPane itself. In this way the component knows how to behave regarding transisitons. Currently defined transitions are sliding panes within small view only. Related components for navigation through contentStack are contentMenuItem, which is only legitimate child component of this one, and contentNavBar, which also takes contentMenuItem as children. This component may take a list of contentMenuItems as children, or a Collection can be value bound to the value attribute with a var attribute to a single contentMenuItem child to be iterated over.


Tag Information
Tag Classorg.icefaces.mobi.component.contentstackmenu.ContentStackMenuTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
accordionnotruebooleanDetermines if menu acts as an accordion. Default = 'false'.
bindingnotruejavax.el.ValueExpressionUsing an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
contentStackIdyestruejava.lang.StringThe id of contentStack this menu will be responsible for manipulating. The contentStack either needs to be a sibling within the same form, or it must use the exact jsf clientId (ie: myform:mystack).
firstnotrueintZero-relative row number of the first row in the underlying data model to be displayed, or zero to start at the beginning of the data model. Default = '0'.
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'.
rowIndexnotrueintZero-relative index of the row currently being accessed in the underlying DataModel, or -1 for no current row. Default = '0'.
rowsnotrueintThe number of rows (starting with the one identified by the first property) to be displayed, or zero to display the entire set of available rows. Default = '0'.
selectedPanenotruejava.lang.StringThe id of contentPane that is currentId in contentStack. ContentMenuItem will modify this value, keeping the state of the contentStack for this component. It also allows value bindings in a bean so contentStack and this component to can stay in sync.
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.ObjectThe DataModel instance representing the data to which this component is bound, or a collection of data for which a DataModel instance is synthesized.
varnotruejava.lang.StringThe request-scope attribute (if any) under which the data object for the current row will be exposed when iterating.
varStatusnotruejava.lang.StringName of a request-scope attribute under which the current indexed state will be exposed. This is modeled after the Facelets JSTL c:forEach varStatus, and has 5 sub-properties:

int begin
Corresponds to the UIData container's first property, the index at which it begins iteration.
int end
The ending index of iteration, corresponding to the UIData container's first plus rows minus 1. Note: If the UIData's DataModel's isRowAvailable() method returns false, prematurely ending iteration, then the actual ending index may not equal the value for this end property.
int index
The current iteration index. Corresponding to the UIData container's getRowIndex() value, which also corresponds with the UIData's DataModel's getRowIndex() value.
boolean first
Defined simply as: varStatus.index == varStatus.begin
boolean last
Defined simply as: varStatus.index == varStatus.end. Note: This has the same limitations as the end property.

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.