Skip to main content



      Home
Home » Archived » BIRT » function declaration
function declaration [message #146465] Tue, 21 March 2006 08:37
Eclipse UserFriend
Originally posted by: r.budner.abg.com.pl

Hi,

There is sample code in initialize method:

function test_function() {
return ("this is test function");
}

if (params["test_parameter"] == null) {
params["test_parameter"] = new Date();
}

Can I combine global function declaration with some code to execute in
initialize method? It turns out that only Preview in Web Viewer throws
exception ScriptEvaluationError. Common Preview in Eclipse, Preview as
HTML (or PDF) doesn't cause any problems.
I really need it to work because I deployed Web Viewer on Tomcat and my
reports are used by some other people.

Help.
Previous Topic:General question of design --> Reporting in a Three-Tier-Architecture with RMI
Next Topic:Tomcat, BIRT< and Oracle
Goto Forum:
  


Current Time: Fri May 09 14:48:25 EDT 2025

Powered by FUDForum. Page generated in 0.04481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top