Using JavaScript to Write an Event Handler
BIRT scripting is based on the Mozilla Rhino implementation of JavaScript, also called ECMAScript. Rhino implements ECMAScript version 1.5 as described in the ECMA standard ECMA-262 version 3. The complete specification for Rhino is located at:
How to use BIRT Report Designer to enter a JavaScript event handler
1 In Outline, select the report element, data source, or data set for which you want to write an event handler.Figure 22‑1 demonstrates entering a line of code in the onPrepare( ) method of a Table element.
Figure 22‑1 Code entry for the onPrepare( ) method
(c) Copyright Actuate Corporation 2009 |