Class UISelectItems
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UISelectItems
org.apache.myfaces.tobago.internal.component.AbstractUISelectItems
org.apache.myfaces.tobago.component.UISelectItems
- All Implemented Interfaces:
jakarta.faces.component.PartialStateHolder,jakarta.faces.component.StateHolder,jakarta.faces.component.TransientStateHolder,jakarta.faces.event.ComponentSystemEventListener,jakarta.faces.event.FacesListener,jakarta.faces.event.SystemEventListenerHolder,EventListener
Add a child UISelectItems component to the UIComponent
associated with the closed parent UIComponent custom
action.
UIComponent class, generated from template
component.stg with class
SelectItemsTagDeclaration.-
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImage to be displayed to the user for this option.Label to be displayed to the user for this option.Value to be returned to the server if this option is selected by the user.getTip()Text value to display as tooltip.getVar()Name of a variable under which the iterated data will be exposed.booleanFlag indicating whether the option created by this component is disabled.voidrestoreState(jakarta.faces.context.FacesContext context, Object state) voidsetItemDisabled(boolean itemDisabled) voidsetItemImage(String itemImage) voidsetItemLabel(String itemLabel) voidsetItemValue(Object itemValue) voidvoidMethods inherited from class jakarta.faces.component.UISelectItems
getFacesContext, getValue, setValueMethods inherited from class jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, visitTreeMethods inherited from class jakarta.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
-
Field Details
-
COMPONENT_TYPE
-
COMPONENT_FAMILY
- See Also:
-
-
Constructor Details
-
UISelectItems
public UISelectItems()
-
-
Method Details
-
getFamily
- Overrides:
getFamilyin classjakarta.faces.component.UISelectItems
-
isItemDisabled
public boolean isItemDisabled()Flag indicating whether the option created by this component is disabled.
Default:false -
setItemDisabled
public void setItemDisabled(boolean itemDisabled) -
getVar
Name of a variable under which the iterated data will be exposed. It may be referred to in EL of other attributes. -
setVar
-
getItemValue
Value to be returned to the server if this option is selected by the user. -
setItemValue
-
getTip
Text value to display as tooltip. -
setTip
-
getItemLabel
Label to be displayed to the user for this option. -
setItemLabel
-
getItemImage
Image to be displayed to the user for this option. -
setItemImage
-
restoreState
- Specified by:
restoreStatein interfacejakarta.faces.component.StateHolder- Overrides:
restoreStatein classjakarta.faces.component.UIComponentBase
-