Using the selection components
The selection components allow end users to select single or multiple values from a list or group of items. ADF Faces provides a number of different selection components that range from simple Boolean checkboxes and radio buttons to order shuttle boxes that allow the user to select multiple items and order them.
Almost all of the selection components present items as either multiple tags of af:selectItem
or f:selectItem
or one tag of f:selectItems
. This rule applies to all select
components except for the selectBooleanCheckbox
and selectBooleanRadio
components. The following list explains different select
components:
selectBooleanCheckbox
– This is a component that is used to create an HTML checkbox as shown in the following screenshot; its value must always be aboolean
orjava.lang.Boolean
and not an object as with otherselect
components. It toggles between selected (true
) or unselected (false
) states.selectBooleanRadio
– This component is exactly like the...