f:selectItem

This component can be used as a children element of any UISelectOne or UISelectOne to declare the possible options of the element value.

General Usage

In f:selectItem, use itemLabel for the text that will be visible to users, and itemValue for the value that will be set if that option was chosen. itemDescription is used as documentation purposes (for development tools). noSelectionOption is used for some failed validations. Use value to use a programmatic UISelectItem through an evaluated EL expression.

                   

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20