JViews Gantt
Tag nodeSelectInteractor


Node Selection Interactor Faces Component

The node selection interactor faces component allows the end user to select a hierarchy node and to trigger a specified server-side action on the selected hierarchy node. 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.
This interactor can be used on the table view or on the sheet view.

Usage

<jvgf:nodeSelectInteractor
      id="sheetNodeSelectInteractor"
      valueChangeListener="#{actionBean.actionForNodeSelection}"
      invocationContext="JSF_CONTEXT" />


<jvgf:nodeSelectInteractor
      id="tableNodeSelectInteractor"
      valueChangeListener="#{actionBean.actionForNodeSelection}"
      invocationContext="JSF_CONTEXT" />

...
<jvgf:ganttView
      id="gantt"
      sheetInteractorId="sheetNodeSelectInteractor"
      tableInteractorId="tableNodeSelectInteractor"/>

DHTML - JavaScript Types

IlvNodeSelectInteractorProxy

JSF Component Class

IlvFacesNodeSelectInteractor



Tag Information
Tag Classilog.views.gantt.faces.dhtml.taglib.IlvFacesNodeSelectInteractorTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNode Selection 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.
partialSubmitfalsefalsejava.lang.StringThe partial submit mode. If true, and autoSubmit is also true, this interactor will do a partial submit on the enclosing form on a click event. The partial submit mode is set to false 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. In this mode the page is submitted and the valueChangeListener is invoked inside the JavaServer Faces lifecycle. Use this mode when you need to access or refresh other JavaServer Faces components in the page.
  • IMAGE_SERVLET_CONTEXT. In this mode the valueChangeListener is invoked in the image generating servlet, just before the generation of a new image. Therefore the listener can only access the graphic component that generates the image and not the other JavaServer Faces components that do not get refreshed. Use this mode when you don't need to access or refresh other JavaServer Faces components in the page or want to refresh only the associated view.
menuModelIdfalsefalsejava.lang.StringThe ID used during the dynamic generation of contextual menus.
messagefalsefalsejava.lang.StringThe message displayed by the view when this interactor is set.
objectSelectedFinderfalsefalsejava.lang.StringThe object finder responsible for retrieving the object selected by this interactor.
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.

valueChangeListenerfalsefalsejava.lang.StringThe listener to call on the value change event.

Variables
No Variables Defined.


© Copyright Rogue Wave Software Inc. 1997, 2018. All Rights Reserved.