Select Item sub tag

The <f:selectItem> tag defines an item that appears in a combo box, list box, color picker, time picker, radio button group, or check box group.

 

Parent tags

This tag is used as a child of the following tags:

 

Rendering

The tag is rendered by its parent tag, see the parent tag descriptions for more information.

 

Properties and All Attributes views

The Properties view for a component shows the most common set of attributes you can set on a component, and, depending on the component, you might also see options for adding controls, actions, or other components. To open the Properties view, click

Window | Show View | Properties.

These common attributes for the Select Item sub tag:

The All Attributes view shows a table of all the attributes you can set on a component, which includes those attributes you can access from the Properties view. To switch to the All Attributes view, click the

All Attributes icon in the upper right corner of the Properties view.

Table 1. Select Item attributes

Attribute name

Description

binding

An expression that binds the component's instance (usually a user interface component) to a bean property (usually in the backing file).

id

Assigns a name to a component. Should be a unique name within a JSP.

itemDescription

Description of this option, for use in development tools.

itemDisabled

If true, this menu item is disabled. If false or omitted, the menu item is not disabled.

itemLabel

Label to be displayed to the user for this option.

itemValue

Value to be returned to the server if this option is selected by the user.

value

Specifies the initial text value for the component displayed at runtime. Contains information to be displayed, in the form of a specified value or a pointer to a dynamic value.