JViews Gantt
Tag selectInteractor


Selection Interactor Faces Component

The selection interactor faces component allows the end user to select and move objects on the Gantt or schedule view faces component. By default the selection feedback is rendered on the client side without the need to request a new image for the associated view. To configure the rendering of the selection use a selection manager faces component.
This interactor can be used on the table view or on the sheet view.

Usage

<jvgf:selectInteractor
      id="sheetSelectInteractor"/>


<jvgf:selectInteractor
      id="tableSelectInteractor"/>

...
<jvgf:ganttView
      data="data/gantt.igpr"
      sheetInteractorId="sheetSelectInteractor"
      tableInteractorId="tableSelectInteractor">

  <f:facet name="sheetSelectionManager">
    <jvgf:selectionManager
          lineColor="orange"
          propertyAccessor="#{bean.propertyAccessor}/>
  </f:facet>
  <f:facet name="tableSelectionManager">
    <jvgf:selectionManager
          lineColor="orange"
          propertyAccessor="#{bean.propertyAccessor}/>
  </f:facet>
</jvgf:ganttView>

DHTML - JavaScript Types

IlvGanttSelectInteractorProxy

JSF Component Class

IlvFacesGanttSelectInteractor



Tag Information
Tag Classilog.views.gantt.faces.dhtml.taglib.IlvFacesGanttSelectInteractorTag
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.
idfalsefalsejava.lang.StringThe ID of this component.
menuModelIdfalsefalsejava.lang.StringID used during the generation of dynamic contextual menus.
messagefalsefalsejava.lang.StringThe message displayed by the view when this interactor is set.
moveAllowedfalsefalsejava.lang.StringWhether moving the selection is allowed or not. 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 rectangle mode or the forceUpdateProperties must be set if the interactor is in image mode. See 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.