JViews TGO
Tag selectionManager


Not a visual component

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:

So it will not affect and should not be used with the following interactor faces components:

Usage

<jvtf:clientSelectInteractor
      id="selectInteractor" />
...
<jvtf:networkView
      id="network"
      context="#{context}"
      interactorId="selectInteractor">
  <f:facet name="selectionManager">
    <jvtf:selectionManager
          lineWidth="2"
          lineColor="white"
          imageMode="false"/>
  </f:facet>
</jvtf:networkView>

DHTML - JavaScript Types

IltFacesGraphViewSelectionManagerProxy

JSF Component Class

IltFacesGraphViewSelectionManager



Tag Information
Tag Classilog.tgo.faces.graph.dhtml.taglib.IltFacesGraphViewSelectionManagerTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameSelection Manager

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejava.lang.StringThe 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.
fillOnfalsefalsejava.lang.Stringtrue to display filled selection rectangles. The fill color is the line color with a transparency of 50%.
forceUpdatePropertiesfalsefalsejava.lang.StringForce to make additional request to query the current selection and additional properties in image mode to enable client-side selection listener.
idfalsefalsejava.lang.StringThe ID of this component.
imageModefalsefalsejava.lang.StringThe 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.
infoProviderMethodBindingfalsefalsejava.lang.StringA 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.
lineColorfalsefalsejava.lang.StringThe color of selection rectangles lines.
lineWidthfalsefalsejava.lang.StringThe width of selection rectangle lines.
onSelectionChangedfalsefalsejava.lang.StringA 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.
propertyAccessorfalsefalsejava.lang.StringThe reference to the value binding expression to an IltFacesPropertyAccessor instance that will be used to access model properties of the selected objects.

Variables
No Variables Defined.


© Copyright Rogue Wave Software Inc. 1997, 2018. All Rights Reserved.