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.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.   Documentation homepage.