JSF core tag library.
Tag selectItem


A component representing a single option that the user can choose.

The option attributes can either be defined directly on this component (via the itemValue, itemLabel, itemDescription properties) or the value property can reference a SelectItem object (directly or via an EL expression).

The value expression (if defined) is read-only; the parent select component will have a value attribute specifying where the value for the chosen selection will be stored.

See Javadoc of JSF Specification


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

Attributes
NameRequiredRequest-timeTypeDescription
itemDescriptionfalsefalsejava.lang.StringAn optional description for this item. For use in development tools.
itemDisabledfalsefalsejava.lang.StringDetermine whether this item can be chosen by the user.
itemLabelfalsefalsejava.lang.StringGet the string which will be presented to the user for this option.
itemValuefalsefalsejava.lang.StringThe value of this item, of the same type as the parent component's value.
valuefalsefalsejava.lang.StringAn EL expression that refers to a javax.faces.model.SelectItem instance.
idfalsefalsejava.lang.StringAn identifier for this particular component instance within a component view.

The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view

This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted.

bindingfalsefalsejava.lang.StringIdentifies 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.