function declaration [message #146465] |
Tue, 21 March 2006 13:37 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02442 seconds