Package jakarta.faces.component
Class UISelectItemGroup
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UISelectItem
jakarta.faces.component.UISelectItemGroup
- All Implemented Interfaces:
PartialStateHolder
,StateHolder
,TransientStateHolder
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
,EventListener
UISelectItemGroup is a component that may be nested inside a UISelectMany
or UISelectOne
component, and causes the addition
of one SelectItemGroup
of one or more SelectItem
instances to the list of available options in the parent component. This component
accepts only children of type UISelectItems
or UISelectItem
.
- Since:
- 4.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The standard component type for this component.Fields inherited from class jakarta.faces.component.UISelectItem
COMPONENT_FAMILY
Fields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Return a newSelectItemGroup
instance containing one or moreSelectItem
instances represented by any nestedUISelectItems
orUISelectItem
components.Methods inherited from class jakarta.faces.component.UISelectItem
getFamily, getItemDescription, getItemLabel, getItemValue, isItemDisabled, isItemEscaped, isNoSelectionOption, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, setNoSelectionOption, setValue
Methods inherited from class jakarta.faces.component.UIComponentBase
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, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class jakarta.faces.component.UIComponent
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
-
Field Details
-
COMPONENT_TYPE
The standard component type for this component.
- See Also:
-
-
Constructor Details
-
UISelectItemGroup
public UISelectItemGroup()
-
-
Method Details
-
getValue
Return a new
SelectItemGroup
instance containing one or moreSelectItem
instances represented by any nestedUISelectItems
orUISelectItem
components.- Overrides:
getValue
in classUISelectItem
- Returns:
- the value.
-