JViews Gantt
Tag selectionManager


Not a visual component

The selection manager faces component allows you to configure the selection on the associated view. It is defined as the facets sheetSelectionManager for configuring the selection on the sheet view, and tableSelectionManager for configuring the selection on the table view.

The configuration done via the selection manager faces component is intended for the following interactor faces component:

The settings of the selection manager faces component have no effect on the following interactor faces components:

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

IlvGanttSelectionManagerProxy

JSF Component Class

ilog.views.gantt.faces.dhtml.component.IlvFacesGanttSelectionManager



Tag Information
Tag Classilog.views.gantt.faces.dhtml.taglib.IlvFacesGanttSelectionManagerTag
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.StringWhether selection rectangles are filled or not. The fill color is the line color with a transparency of 50%.
forceUpdatePropertiesfalsefalsejava.lang.StringIn image mode: forces additional requests for the current selection and additional properties. Must be set to true to enable client-side selection listener.
Ignored in rectangle mode.
idfalsefalsejava.lang.StringThe ID of this component.
imageModefalsefalsejava.lang.StringThe image mode. In image mode the image is refreshed on each selection. In rectangle 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 rectangle mode no special configuration is needed.
lineColorfalsefalsejava.lang.StringThe color of selection rectangle 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 rectangle mode or the forceUpdateProperties must be set if in image mode. See the user's documentation for further information.
propertyAccessorfalsefalsejava.lang.StringA value binding expression to an IlvFacesGanttPropertyAccessor 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.