The selection manager faces component allows you to configure the selection on the associated view. It is defined as the facets sheetSelectionManager
for configuring the selection on the sheet view, and tableSelectionManager
for configuring the selection on the table view.
The configuration done via the selection manager faces component is intended for the following interactor faces component:
Attributes |
Name | Required | Request-time | Type | Description |
binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing Bean. If this attribute is set, the tag does not create the component itself but retrieves it from the Bean property. This attribute must be a value binding. |
fillOn | false | false | java.lang.String | Whether selection rectangles are filled or not. The fill color is the line color with a transparency of 50%. |
forceUpdateProperties | false | false | java.lang.String | In image mode: forces additional requests for the current selection and additional properties. Must be set to true to enable client-side selection listener. Ignored in rectangle mode. |
id | false | false | java.lang.String | The ID of this component. |
imageMode | false | false | java.lang.String | The image mode. In image mode the image is refreshed on each selection. In rectangle mode, only the selected object(s) bounding box is queried and rectangles are dynamically displayed on top of the view. Note that the client-side listeners on selection and additional information on selected objects are available in image mode if and only if the forceUpdateProperties property is set to true . In rectangle mode no special configuration is needed. |
lineColor | false | false | java.lang.String | The color of selection rectangle lines. |
lineWidth | false | false | java.lang.String | The width of selection rectangle lines. |
onSelectionChanged | false | false | java.lang.String | A JavaScript handler called when the selection has changed. The handler can use the predefined variable 'selection' which is the list of current selected items. To use this handler the selectionManager must be in rectangle mode or the forceUpdateProperties must be set if in image mode. See the user's documentation for further information. |
propertyAccessor | false | false | java.lang.String | A value binding expression to an IlvFacesGanttPropertyAccessor instance that will be used to access model properties of the selected objects. |