Top Description Inners Fields Constructors Methods
jakarta.faces.component

public Class UISelectItems

extends UIComponentBase
Class Inheritance
Known Direct Subclasses
jakarta.faces.component.UISelectItemGroups
Imports
jakarta.el.ValueExpression, jakarta.faces.model.SelectItem

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 jakarta.el.ValueExpression, can be of any of the following types:

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static enum

Field Summary

Modifier and TypeField and Description
public static final String
COMPONENT_FAMILY

The standard component family for this component.

public static final String
COMPONENT_TYPE

The standard component type for this component.

Constructor Summary

AccessConstructor and Description
public
UISelectItems()

Create a new UISelectItems instance with default property values.

Method Summary

Modifier and TypeMethod and Description
public String
getFamily()

Implements abstract jakarta.faces.component.UIComponent.getFamily.

Return the identifier of the component family to which this component belongs.

public Object

Returns:

the value.
getValue
()

Returns the value property of the UISelectItems.

public void
setValue(Object
the new value
value
)

Sets the value property of the UISelectItems.

public void
setValueExpression(String
Name of the attribute or property for which to set a ValueExpression
name
,
ValueExpression
The ValueExpression to set, or null to remove any currently set ValueExpression
binding
)

Overrides jakarta.faces.component.UIComponent.setValueExpression.

Set the ValueExpression used to calculate the value for the specified attribute or property name, if any.

Inherited from jakarta.faces.component.UIComponentBase:
addClientBehavioraddFacesListenerbroadcastclearInitialStatedecodeencodeBeginencodeChildrenencodeEndfindComponentgetAttributesgetChildCountgetChildrengetClientBehaviorsgetClientIdgetDefaultEventNamegetDescriptorMapgetEventNamesgetFacesContextgetFacesListenersgetFacetgetFacetCountgetFacetsgetFacetsAndChildrengetIdgetListenersForEventClassgetParentgetPassThroughAttributesgetRenderergetRendererTypegetRendersChildreninvokeOnComponentisRenderedisTransientmarkInitialStateprocessDecodesprocessRestoreStateprocessSaveStateprocessUpdatesprocessValidatorsqueueEventremoveFacesListenerrestoreAttachedStaterestoreStatesaveAttachedStatesaveStatesetIdsetParentsetRenderedsetRendererTypesetTransientsubscribeToEventunsubscribeFromEvent

Field Detail

COMPONENT_FAMILYback to summary
public static final String COMPONENT_FAMILY

The standard component family for this component.

COMPONENT_TYPEback to summary
public static final String COMPONENT_TYPE

The standard component type for this component.

Constructor Detail

UISelectItemsback to summary
public UISelectItems()

Create a new UISelectItems instance with default property values.

Method Detail

getFamilyback to summary
public String getFamily()

Implements abstract jakarta.faces.component.UIComponent.getFamily.

Doc from jakarta.faces.component.UIComponent.getFamily.

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

Returns:String

the component family (not null).

Annotations
@Override
getValueback to summary
public Object getValue()

Returns the value property of the UISelectItems.

Returns:Object

the value.

setValueback to summary
public void setValue(Object value)

Sets the value property of the UISelectItems.

Parameters
value:Object

the new value

setValueExpressionback to summary
public void setValueExpression(String name, ValueExpression binding)

Overrides jakarta.faces.component.UIComponent.setValueExpression.

Set the ValueExpression used to calculate the value for the specified attribute or property name, if any. In addition, if a ValueExpression is set for the var property, regardless of the value, throw an illegal argument exception.

Parameters
name:String

Doc from jakarta.faces.component.UIComponent.setValueExpression.

Name of the attribute or property for which to set a ValueExpression

binding:ValueExpression

Doc from jakarta.faces.component.UIComponent.setValueExpression.

The ValueExpression to set, or null to remove any currently set ValueExpression

Annotations
@Override
Exceptions
IllegalArgumentException:
If name is one of id, parent, or var.
NullPointerException:
if name is null
jakarta.faces.component back to summary

pack-priv final Enum UISelectItems.PropertyKeys

extends Enum<UISelectItems.PropertyKeys>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final UISelectItems.PropertyKeys

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static UISelectItems.PropertyKeys
public static UISelectItems.PropertyKeys[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

valueback to summary
public static final UISelectItems.PropertyKeys value

Constructor Detail

PropertyKeysback to summary
private PropertyKeys()

Method Detail

valueOfback to summary
public static UISelectItems.PropertyKeys valueOf(String name)
valuesback to summary
public static UISelectItems.PropertyKeys[] values()