UI-Component Sets
Project Documentation

Summary

Tag name: <f:selectItems>
UIComponent class: javax.faces.component.UISelectItems
Tag class: org.apache.myfaces.taglib.core.SelectItemsTag
Component type: javax.faces.SelectItems
Component family: javax.faces.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

Attributes

Name Type Supports EL? Description
binding javax.faces.component.UISelectItems Only EL Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
id String Yes Get 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.
value Object Yes The initial value of this component.