Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » function declaration
function declaration [message #146465] Tue, 21 March 2006 13: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: Sat Dec 21 17:04:56 GMT 2024

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

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

Back to the top