Mobile Components
Tag menuButton


This component renders a select menu button with a collection or list of menuButtonItems as children. Upon selection of a menuButtonItem, an actionListener will be queued. Children mayonly be icemobile component type of menuButtonItem, and a collection may be specified by the value attribute with the var attribute as per UISeries implementation. Otherwise, several menuButtonItem children can be designated as children of this component.


Tag Information
Tag Classorg.icefaces.mobi.component.menubutton.MenuButtonTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingnotruejavax.el.ValueExpressionUsing an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
buttonLabelnotruejava.lang.StringThe label on the menu button. Default = 'Menu'.
disablednotruebooleanDisables this component, so it does not receive focus or get submitted. Default = 'false'.
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'.
selectTitlenotruejava.lang.StringThe label for the first item in list which cannot be selected but helpful to users to understand how to use the component, ie: that they must select an option in the list. Default = 'Select'.
stylenotruejava.lang.StringSets the CSS style definition to be applied to this component.
styleClassnotruejava.lang.StringSets the CSS class to apply to this component.
tabindexnotrueintThe tabindex of 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.