The selection manager faces component allows you to configure the selection aspects of the selection interactor used by the associated view. It is defined as the facet selectionManager
of the associated view.
The configuration done via the selection manager faces component is intended for the following interactor faces components:
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 | true to display filled selection rectangles. The fill color is the line color with a transparency of 50%. |
forceUpdateProperties | false | false | java.lang.String | Force to make additional request to query the current selection and additional properties in image mode to enable client-side selection listener. |
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 regular 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 regular mode no special configuration is needed. By default the manager is in image mode. |
infoProviderMethodBinding | false | false | java.lang.String | A method binding that respects the signature List methodName(IlpGraphView, IlpRepresentationObject) . The returned value of this method is a list of additional properties associated to the selected object. A valid item of this list is a String or a list itself. Since JViews 8.0 this attribute is deprecated, the preferred way to transfer object properties to client is via the selectionManager 's propertyAccessor tag. |
lineColor | false | false | java.lang.String | The color of selection rectangles 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 regular mode or the forceUpdateProperties must be set if in image mode. Refer to the user's documentation for further information. |
propertyAccessor | false | false | java.lang.String | The reference to the value binding expression to an IltFacesPropertyAccessor instance that will be used to access model properties of the selected objects. |