public class UISelectItems extends UIComponentBase
UISelectItems is a component that may be nested
inside a UISelectMany
or UISelectOne
component, and
causes the addition of one or more SelectItem
instances to the
list of available options in the parent component. The
value
of this component (set either directly, or acquired
indirectly a ValueExpression
, can be of any
of the following types:
SelectItem
- This instance is
added to the set of available options for the parent tag.SelectItem
- This set of instances is
added to the set of available options for the parent component,
in ascending subscript order.SelectItem
- This set of instances is
added to the set of available options for the parent component,
in the order provided by an iterator over them.SelectItem
instances that will
be constructed dynamically and added to the set of available options
for the parent component, in the order provided by an iterator over
the keys.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY
The standard component family for this component.
|
static String |
COMPONENT_TYPE
The standard component type for this component.
|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Constructor and Description |
---|
UISelectItems()
Create a new
UISelectItems instance with default property
values. |
Modifier and Type | Method and Description |
---|---|
String |
getFamily()
Return the identifier of the component family to which this component belongs. |
Object |
getValue()
Returns the
value property of the
UISelectItems . |
void |
setValue(Object value)
Sets the
value property of the
UISelectItems . |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_TYPE
The standard component type for this component.
public static final String COMPONENT_FAMILY
The standard component family for this component.
public UISelectItems()
Create a new UISelectItems
instance with default property
values.
public String getFamily()
UIComponent
Return the identifier of the component family to which this component belongs. This
identifier, in conjunction with the value of the rendererType
property, may be used to select the appropriate Renderer
for this component
instance. Note this method should NOT return null
getFamily
in class UIComponent
public Object getValue()
Returns the value
property of the
UISelectItems
.
public void setValue(Object value)
Sets the value
property of the
UISelectItems
.
value
- the new valueCopyright © 2019 Eclipse Foundation.
Use is subject to license terms.