JViews TGO
Tag clientSelectInteractor


Client Selection Interactor Faces Component

The client selection interactor faces component allows you to perform selection of objects on the network and equipment view faces components, while using an optimized scheme that minimizes the number of server roundtrips. It draws a selection border as the selection feedback that is, by default, handled on the client side without the need to request a new image for the associated view. This component is to be used in conjunction with the selection manager faces component.

Usage

<jvtf:clientSelectInteractor
      id="selectInteractor" />
...
<jvtf:networkView
      id="network"
      context="#{context}"
      interactorId="selectInteractor"/>

DHTML - JavaScript Types

IltFacesClientSelectInteractorProxy

JSF Component Class

IltFacesClientSelectInteractor



Tag Information
Tag Classilog.tgo.faces.graph.dhtml.taglib.IltFacesClientSelectInteractorTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameClient Selection Interactor

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.
cursorfalsefalsejava.lang.StringThe cursor displayed by the view when this interactor is set. The available cursors are those available in the browser.
forceUpdatePropertiesfalsefalsejava.lang.StringThis attribute is used in conjunction with the imageMode tag attribute, forcing an additional request to the server querying the current selection and additional properties when in image mode, enabling the client-side selection listeners and additional properties handling. The default value is false.
Since JViews 8.0 this attribute is deprecated, the preferred way to set this attribute is to set it on the selectionManager tag.
idfalsefalsejava.lang.StringThe ID of this component.
imageModefalsefalsejava.lang.StringNormally this interactor only queries the bounding box and additional properties of the selected object to the server, the selection feedback is dynamically created by the client as a rectangular border. This tag attribute switches the interactor to "image mode", while in this mode, it will always request a new view image when interacting with the view, resulting in a more consistent selection feedback with the cost of performance. Note that the client-side selection listeners and additional information handling are not available in image mode, unless the forceUpdateProperties tag attribute is set to true.
Since JViews 8.0 this attribute is deprecated, the preferred way to set this attribute is to set it on a selectionManager tag.
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 set this attribute is to set it on the selectionManager tag. See the selectionManager' infoProviderMethodBinding for more information.
lineColorfalsefalsejava.lang.StringThe color of the selection border displayed by the component.
Since JViews 8.0 this attribute is deprecated, the preferred way to set this attribute is to set it on a selectionManager tag.
lineWidthfalsefalsejava.lang.StringThe width of the selection border displayed by the component.
Since JViews 8.0 this attribute is deprecated, the preferred way to set this attribute is to set it on a selectionManager tag.
menuModelIdfalsefalsejava.lang.StringID used during the dynamic generation of contextual menus.
messagefalsefalsejava.lang.StringThe message displayed by the view when this interactor is set.
moveAllowedfalsefalsejava.lang.StringThis tag attribute controls whether the interactor will perform the move of any selected object. An object will be moved if and only if it is configured to be movable in the network or equipment view and if this tag attribute is set to "true". The default value is "true".
objectActionMethodBindingfalsefalsejava.lang.StringA method binding that respects the signature boolean methodName(IlpGraphView, int, int). This method indicates when the mouse click at a given view coordinate triggers an object action instead of a regular object selection.
onSelectionChangedfalsefalsejava.lang.StringSpecifies a JavaScript handler to be called whenever the selection changes. A predefined variable selection is available, which is the list of currently selected objects. To use this handler in image mode the interactor must be configured with forceUpdateProperties tag attribute set to true.
Since JViews 8.0 this attribute is deprecated, the preferred way to set this attribute is to set it on the selectionManager tag.
partialTriggersfalsefalsejava.lang.StringThis attribute is meaningful only when the component is used inside an Apache MyFaces Trinidad application.

The IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too.

Separate multiple triggers with a space.

Trigger identifiers are relative to the source component for non-NamingContainer components and relative to the parent component for NamingContainer components. Identifiers must account for NamingContainers. You can use a single colon to start the search from the root, or use multiple colons to move up through the NamingContainer. For example, for a non-NamingContainer component, "::" will search from the parent naming container, ":::" will search from the grandparent naming container, etc. For a NamingContainer component, "::" will search from the parent component's parent naming container. ":::" will search from the parent component's grandparent naming container.


Variables
No Variables Defined.


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