JViews Diagrammer
Tag selectInteractor


Selection Interactor Faces Component

The selection interactor faces component allows you to select objects on the Diagrammer view faces component, while using an optimized scheme that minimizes the number of server roundtrips. It draws a selection border as the selection feedback that is handled by default 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

<jvdf:selectInteractor
      id="selectInteractor" />
...
<jvdf:diagrammerView
      id="diagrammer"
      interactorId="selectInteractor"/>

DHTML - JavaScript Types

IlvDiagrammerSelectInteractorProxy

JSF Component Class

IlvFacesDiagrammerSelectInteractor



Tag Information
Tag Classilog.views.diagrammer.faces.dhtml.taglib.IlvFacesDiagrammerSelectInteractorTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameSelection 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.
deletionAllowedfalsefalsejava.lang.StringWhether it's allowed to delete the current selection of the selection manager by using the delete key when this interactor is set on the view.

This flag is set to false by default.

forceUpdatePropertiesfalsefalsejava.lang.StringForces an additional request to be made to query the current selection and additional properties in image mode to enable a client-side selection listener. 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 a selectionManager tag.
idfalsefalsejava.lang.StringThe ID of this component.
imageModefalsefalsejava.lang.StringWhether to use image mode or not. 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. The default value is 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 ArrayList methodName(IlvDiagrammer, Object) or ArrayList methodName(IlvDiagrammer, IlvSDMNode). The returned value of this method is a list of additional properties to associate with 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 a selectionManager tag.
lineColorfalsefalsejava.lang.StringThe color of selection rectangles, if this interactor is not in image mode.
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 selection rectangle lines, if this interactor is not in image mode.
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.StringWhether to allow the selected object to be moved or prevent it from being moved. The server-side selected object must also be movable. Default value is true.
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 interactor must be in regular mode or forceUpdateProperties must be set if the interactor is in image mode. Refer to the user's documentation for further information.
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.