Tomahawk tag library.
Tag selectItems


An extended version of the standard UISelectItems. Populates the SelectItem collection from the given value automatically using the itemLabel and itemValue attributes. By using the component there is no need to manually create a SelectItem collection because component automatically populates SelectItem objects from types like Collection, Map and etc..


Tag Information
Tag Classorg.apache.myfaces.custom.selectitems.SelectItemsTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
varfalsefalsejava.lang.Stringname of the iterator
itemLabelfalsefalsejava.lang.Stringname of the selectitem
itemValuefalsefalsejava.lang.Stringvalue of the selectitem
useEntryAsItemfalsefalsejava.lang.StringOnly applies when value points to a map. Use the Entry instance instead the value for resolve EL Expressions
valuefalsefalsejava.lang.StringAn EL expression that specifies the contents of the selection list. The expression can refer to one of the following:
  1. A single SelectItem
  2. An array or Collection of SelectItem instances
  3. A Map. The contents of the Map are used to create SelectItem instances, where the SelectItem's label is the map's key value, and the SelectItem's value is the map's value. When using a map, it is recommended that an ordered implementation such as java.util.TreeMap is used.
The value properties of each of the SelectItems must be of the same basic type as the parent component's value.
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.