ReportScripting in BIRT 2.2.1 : Problem with the evaluation of an Expression [message #490610] |
Fri, 09 October 2009 08:00  |
Eclipse User |
|
|
|
Hi,
I'm developping reports in BIRT 2.2.1 and i'm using some scripts to customize it. I would like to know how can I do to evaluate a NamedExpression on a Data item.
I know in BIRT 2.3, we can do this with : reportContext.evaluate(this.getNamedExpression("myNamedExpression ")).
But I'm not allowed to upgrade my BIRT for 2.3 version, so how can I evaluate a named expression in BIRT 2.2.1 because the evaluate() method does not exist in that version?
Thanks by advance,
Maghen
|
|
|
Re: ReportScripting in BIRT 2.2.1 : Problem with the evaluation of an Expression [message #490968 is a reply to message #490610] |
Mon, 12 October 2009 11:45  |
Eclipse User |
|
|
|
Maghen,
Can you try just eval(this.getNamedExpression("myNamedExpression "));
I do not remember if this works in 2.2 but worth a try.
Jason
Maghen Calinghee wrote:
> Hi,
>
> I'm developping reports in BIRT 2.2.1 and i'm using some scripts to
> customize it. I would like to know how can I do to evaluate a
> NamedExpression on a Data item.
> I know in BIRT 2.3, we can do this with :
> reportContext.evaluate(this.getNamedExpression("myNamedExpression ")).
> But I'm not allowed to upgrade my BIRT for 2.3 version, so how can I
> evaluate a named expression in BIRT 2.2.1 because the evaluate() method
> does not exist in that version?
>
> Thanks by advance,
>
> Maghen
|
|
|
Powered by
FUDForum. Page generated in 0.06702 seconds