alloy:selectManyMenu

SelectManyMenu is a UISelectMany component that renders a select element and enables the user to select multiple values. It has the same basic features of alloy:selectManyListbox except that there is no size attribute because JSF "select*menu" components always render size=1. Since it extends HtmlSelectManyMenu, it supports all the features of h:selectManyMenu such as accepting f:selectItem or f:selectItems as child tags.

Data Model Usage

The component will display dynamically when the value attribute of the child f:selectItems tag is bound via EL to a model bean property (which is wrapped implicitly by JSF with a DataModel). The var attribute of the child f:selectItems tag is used to introduce a variable name into the EL when iterating over the model.
Note: Chromium Issue#4579 may cause this component to display more than one menu item.

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