|
|
Re: Problem with BIRT script [message #59991 is a reply to message #58695] |
Tue, 19 July 2005 23:02 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: myname(with.between names).lombardisoftware.com
Are you sure BIRT adds the ImporterTopLevel class that defines importClass()
and importPackage() to its runtime?
it sounds from the error that the function is missing not that the parameter
is wrong.
Wang QS wrote:
> Try to use
>
> importPackage(Packages.java.util);
>
> instead of
>
> importPackage(java.util);
>
> for now.
>
> Stanley Wang
> BIRT Engine
>
> S.Taaouati wrote:
>> I?m trying to use ?importPackage? in birt version 1.0.1M1 but I get
>> the following error:
>>
>> Error0 : data.engine.JSScriptInvalid(1 time)
>> detail: Invalid Javascript expression. Source: DataSet:setScript.open,
>> line: 0, Expression:
>> function_prefix_1121238524940();function
>> function_prefix_1121238524940(){importPackage(java.io)}
>> Script engine error: ReferenceError: "importPackage" is not defined.
>>
>>
>>
> "Piet" <said.taaouati@remain.nl>
> ??????:be51f50d7154f6b5bc254e771eabced4$1@www.eclipse.org...
>> Hi;
>>
>> A BIRT report developer uses the Mozilla Rhino JavaScript engine which
>> provides excellent integration with Java. This means all functionalities
>> of Mozilla Rhino JavaScript must work in BIRT. But when I try use the
>> functionality importPackage (e.g. importPackage(java.io)) in
>> BIRT(1.0.1M1) script I get the error
|
|
|
Powered by
FUDForum. Page generated in 0.03593 seconds