JViews Chart
Tag chartSelectInteractor


Selection Interactor Faces Component

The selection interactor faces component allows the end user to select a display point on a chart view and trigger a specified server-side action. The server-side action can be executed inside or outside the JavaServer Faces lifecycle depending on the invocationContext attribute. The server generates a new image for each selection.

Usage

<jvcf:chartSelectInteractor
      id="selectInteractor"
      valueChangeListener="#{actionBean.pointSelected}"
      invocationContext="JSF_CONTEXT"/>


...
<jvcf:chartView
      id="chart"
      style="width:500px;height:300px;"
      interactorId="selectInteractor"/>

DHTML - JavaScript Types

IlvChartSelectInteractorProxy

JSF Component Class

IlvChartSelectInteractor



Tag Information
Tag Classilog.views.chart.faces.dhtml.taglib.IlvChartSelectInteractorTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameSelection Interactor

Attributes
NameRequiredRequest-timeTypeDescription
autoSubmitfalsefalsejava.lang.StringThe auto submit mode. If true, this interactor will submit the enclosing form on a click event. The auto submit mode is set to true by default. This property is used when the invocation context value is JSF_CONTEXT.
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.
invocationContextfalsefalsejava.lang.StringThe invocation context of the valueChangeListener. Valid values are JSF_CONTEXT and IMAGE_SERVLET_CONTEXT. In JSF_CONTEXT mode, the page is submitted to trigger the JSF lifecycle. In IMAGE_SERVLET_CONTEXT mode, the value change listener is invoked in the image generating servlet, just before the image generation. So the listener can only access to the graphic component that generates the image and not to the JSF components that are not refreshed.
menuModelIdfalsefalsejava.lang.StringID used during the dynamic generation of contextual menus.
messagefalsefalsejava.lang.StringThe message displayed by the view when this interactor is set.
objectSelectedFinderfalsefalsejava.lang.StringThe instance responsible for retrieving the object selected by this interactor.
pickingModefalsefalsejava.lang.StringThe picking mode. The picking mode defines how a point is retrieved.
  • If the mode is ITEM_PICKING, the interactor will search the display point that contains the picking point.
  • If the mode is NEAREST_POINT_PICKING, the interactor will search the display point closest to the picking point.
The default value is NEAREST_POINT_PICKING.
valueChangeListenerfalsefalsejava.lang.StringThe listener to call on the value change event.

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.