JSF Core Facelets Tag Library.
Tag selectItems


This tag associates a set of selection list items with the nearest parent UIComponent. The set of SelectItem objects is retrieved via a value-binding.

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

UISelectItems should be nested inside a UISelectMany or UISelectOne component, and results in the addition of one ore more SelectItem instance to the list of available options for the parent component

null



Tag Information
Tag Classorg.apache.myfaces.view.facelets.tag.jsf.core.SelectItemsHandler
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
noSelectionValuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Is either an EL expression pointing to the element in the value collection whose value should be marked as a "no selection" item, or a literal string that exactly matches the value of the item in the collection that must be marked as the "no selection" item. If the user selects such an item and the field is marked as required, then it will not pass validation.
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The initial value of this component.
varfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Name of a request-scope attribute under which the current item of the collection, array, etc. of the value attribute will be exposed so that it can be referred to in EL for other attributes of this component.
itemValuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The value for the current item.
itemLabelfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The label of the current item.
itemDescriptionfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The description of the current item.
itemDisabledfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Determines if the current item is selectable or not.
itemLabelEscapedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Determines if the rendered markup for the current item receives normal JSF HTML escaping or not.
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.