Previous Next

Using JavaScript to Write an Event Handler

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:

http://www.ecma-international.org/publications/standards/
Ecma-262.htm

How to use BIRT Report Designer to enter a JavaScript event handler

1
2
3
4

Figure 23‑1 demonstrates entering a line of code in the onPrepare( ) method of a Table element.

Figure 23-1 Code entry for the onPrepare( ) method

Figure 23-1

(c) Copyright Actuate Corporation 2008