About Actuate JavaScript API scripting in a BIRT Report Design
The scripting features of the BIRT designers support using the JSAPI for the following operations:
*
*
*
Most Actuate JavaScript API functions run when an event occurs. The report element defines the events that it supports. For example, the onRender event occurs when the report renders in the viewer or on a page.
A BIRT report or Reportlet renders in the following ways:
*
*
*
*
All of these products load the actuate.Viewer and actuate.Dialog classes when they render a report, except for the preview functionality in BIRT Designer. Use the View Report in Web Viewer function to view and test Actuate JavaScript API scripts with BIRT Designer, as shown in Figure 2-1.
Figure 22-16 Chart showing a ToolTip
Figure 2-1  
Most of the classes and functions in the actuate.Viewer class can be used in a BIRT report without loading or initializing the actuate.Viewer class and dialog support. Most of the viewers also load the actuate.Parameters and actuate.DataService classes by default. Define the classes loaded for Actuate JavaScript API mashup page explicitly. Load the DataService, Parameters, and Viewer classes before the API initializes the connection to the reporting web service.

Additional Links:

Copyright Actuate Corporation 2012