JSF Core Facelets Tag Library.
Tag selectItem


This tag associates a single SelectItem with the nearest parent UIComponent. The item represents a single option for a component such as an h:selectBooleanCheckbox or h:selectOneMenu. See also component selectItems.

Unless otherwise specified, all attributes accept static values or EL expressions.

UISelectItem should be nestetd inside a UISelectMany or UISelectOne component, and results in the addition of a SelectItem instance to the list of available options for the parent component



Tag Information
Tag Classorg.apache.myfaces.taglib.core.SelectItemTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
valuefalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.model.SelectItem)
The initial value of this component.
itemDisabledfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Determine whether this item can be chosen by the user. When true, this item cannot be chosen by the user. If this method is ever called, then any EL-binding for the disabled property will be ignored.
escapefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The escape setting for the label of this selection item.
itemDescriptionfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
For use in development tools.
itemLabelfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The string which will be presented to the user for this option.
itemValuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The value for this Item.
noSelectionOptionfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Indicate this component represent no selection option. Default value is false.
idfalsetruejava.lang.StringGet a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind " + "to this component instance. This value must be an EL expression.

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.