Sun Identity Manager Deployment Reference

Working with Lists

The component you use to create a list depends upon list length and whether the user can select more than one option simultaneously.

Text boxes often supply a list of options from which a user can select. These lists are populated by specifying choices within a property called allowedValues or by obtaining values dynamically through a method call (FormUtil class methods) to the resource. For information on populating text areas with lists, see the section titled Populating Lists in this chapter.

The following table describes typical list types and the HTML display components used to create them.

Table 2–13 Typical List Types and Associated Display Components

Type of List  

HTML Component  

Option list that offers mutually exclusive values such as true and false 

<CheckBox>

See the section titled Creating a Checkbox.

Multiple-option list in which users can select only one option 

<RadioButton>

See the section titled Creating a Radio Button.

Multiple-option list (with many options) in which users can select only one option 

<Select>

See the section titled Creating a Single-Selection List.

Multiple-option list in which multiple options can be selected simultaneously 

<MultiSelect>

See the section titled Creating a Multiselection List.