MultiplePropertySelection

A component which uses <input type=checkbox> to set a property of some object. Typically, the values for the object are defined using an org.apache.commons.lang.enum.Enum. A MultiplePropertySelection is dependent on an IPropertySelectionModel to provide the list of possible values.
The Palette component is more powerful, but requires client-side JavaScript and is not fully cross-browser compatible.

See also: Palette

Parameters

Name Type Required Default Description
selectedList java.util.Collection yes   The property to set. During rendering, this property is read, and sets the default value of the options in the select. When the form is submitted, list is cleared, then has each selected option added to it.
renderer IMultiplePropertySelectionRenderer no shared instance of CheckBoxMultiplePropertySelectionRenderer Defines the object used to render this component. The default renders a table of checkboxes.
model IPropertySelectionModel yes   The model provides a list of possible labels, and matches those labels against possible values that can be assigned back to the property.
disabled boolean no false Controls whether the <select> is active or not. A disabled PropertySelection does not update its value parameter.

Body: removed

Informal parameters: forbidden

Reserved parameters: none