JViews Gantt
Tag ganttView


Gantt View Faces Component

The Gantt view faces component exposes an IlvGanttChart as a JavaServer Faces component. It interfaces with a servlet that generates images from the IlvGanttChart and handles interactions with the component.

Usage

<jvgf:ganttView
      id="gantt"
      data="data/gantt.igpr"
      style="width:800px;height:400px"
      waitingImage="data/images/wait.gif"
      imageFormat="PNG"/>

DHTML - JavaScript Types

IlvHierarchyChartViewProxy

JSF Component Class

IlvFacesDHTMLGanttChartView



Tag Information
Tag Classilog.views.gantt.faces.dhtml.taglib.IlvFacesDHTMLGanttChartViewTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameGantt View

Attributes
NameRequiredRequest-timeTypeDescription
autoUpdateCapabilitiesfalsefalsejava.lang.StringWhether the automatic update will also update the capabilities.
beforeSessionExpirationHandlerfalsefalsejava.lang.StringThe JavaScript code that will be called when the session is about to expire. For example to keep the session alive set this attribute to view.getTableView().updateImage().
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.
chartfalsefalsejava.lang.StringThe wrapped instance of IlvHierarchyChart.
columnResizeMessagefalsefalsejava.lang.StringThe message displayed by the view message box during the resizing of a column.
datafalsefalsejava.lang.StringThe data to display: igpr project, xml file, IlvGanttDataSource instance value binding, IlvGanttModel instance value binding, ID of a datasource component.
dataSourcefalsefalsejava.lang.StringThe Gantt data source.
Since JViews 8.0 this attribute is deprecated, the preferred way to access business data is to set the data attribute.
dataSourceIdfalsefalsejava.lang.StringThe Gantt data source identifier.
Since JViews 8.0 this attribute is deprecated, the preferred way to access business data is to set the data attribute.
dividerLocationfalsefalsejava.lang.StringThe location of the divider.
editablefalsefalsejava.lang.StringSets whether or not the ganttView is editable (that is, properties of selected objects can be modified). The default value is false.
endVisibleIntervalfalsefalsejava.lang.StringThe end date of the visible interval.
errorMessagefalsefalsejava.lang.StringThe error message displayed by the view when an error occurred during the image loading.
heightfalsefalsejava.lang.StringThe desired height in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute.
idfalsefalsejava.lang.StringThe ID of this component.
imageFormatfalsefalsejava.lang.StringThe desired format of the image generated by the servlet. The format can be JPEG or PNG.
messageBoxfalsefalsejava.lang.StringThe binding to a message box component used to display messages.
messageBoxIdfalsefalsejava.lang.StringThe ID of a message box component used to display messages.
projectfalsefalsejava.lang.StringThe URL to a Gantt designer project.
Since JViews 8.0 this attribute is deprecated, the preferred way to set the URL to a Gantt designer project is to set the data attribute.
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.

resizablefalsefalsejava.lang.StringWhether the view is resizable or not.
accessiblefalsefalsejava.lang.StringWhether the view is accessible or not.
hotkeysfalsefalsejava.lang.StringSets the keyboard hotkeys for the view
servletfalsefalsejava.lang.StringThe URL or the class name of the servlet that provides the image to display.
sheetInteractorfalsefalsejava.lang.StringThe interactor to set on the sheet view.
sheetInteractorIdfalsefalsejava.lang.StringThe ID of the interactor to be set on the sheet view.
startVisibleIntervalfalsefalsejava.lang.StringThe start date of the visible interval.
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered.
styleClassfalsefalsejava.lang.StringSpace separated list of CSS style classe(s) to be applied when this element is rendered.
styleSheetfalsefalsejava.lang.StringThe Cascading Style Sheet for the chart. It can be a URL, a file name, or the style sheet string itself.
styleSheetsfalsefalsejava.lang.StringThe comma separated list of Cascading Style Sheets for the chart. Each element can be a URL, a file name, or the style sheet string itself. The order of the elements specifies the cascaded priority of the style sheets. Each CSS style sheet element takes precedence over the previous style sheet in the list.
tableInteractorfalsefalsejava.lang.StringThe interactor to set in the table view.
tableInteractorIdfalsefalsejava.lang.StringThe ID of the interactor to set on the table view.
updateIntervalfalsefalsejava.lang.StringThe automatic update interval (in seconds) of the Gantt. An interval of zero means no automatic interval.
waitingImagefalsefalsejava.lang.StringThe URL of the image displayed when the component is waiting for a server response. The image may be an animated GIF.
widthfalsefalsejava.lang.StringThe desired width in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute.
zoomFactorfalsefalsejava.lang.StringThe factor used when zooming.
sheetHScrollBackgroundClickExtentfalsefalsejava.lang.StringThe extent of the move when one click on the background of the horizontal scrollbar.
sheetHScrollablefalsefalsejava.lang.StringUse it to set sheet view's horizontal scroll bar.
sheetVScrollablefalsefalsejava.lang.StringUse it to set sheet view's vertical scroll bar.
splitterArrowsVisiblefalsefalsejava.lang.StringUse it to decide whether arrows of splitter visible or not. The arrows of splitter are used to set table or sheet visible or not by mouse click the arrows.

Variables
No Variables Defined.


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