Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse BIRT Report Developer Guide
Previous Page Home Next Page

Previous Next

Scripting Reference

BIRT provides several JavaScript classes in addition to the native JavaScript classes that are a part of Rhino JavaScript. A report developer can access any of the BIRT classes and their properties and functions when writing an expression. The BIRT classes appear in the expression builder’s Category list as BIRT Functions.

BIRT event handlers written in Java code cannot directly access the BIRT JavaScript classes. It is possible to partially circumvent this restriction, however, by defining a new user property on an element and assigning the value of that property using a JavaScript expression. The JavaScript expression can use any of the BIRT JavaScript objects. Since Java code has access to the value of a user property, Java code can, in this way, access the result of evaluating a JavaScript expression. The primary restriction of this technique is that the expression is evaluated at the time the element is created and is therefore static.

For more information on writing Java scripts, see Using Scripting in a Report Design.

The following sections provide reference information for the BIRT JavaScript classes.


(c) Copyright Actuate Corporation 2009

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire