|
|
Re: Inconsistenty between Pheonix ROM and BIRT 2.5 ? [message #468316 is a reply to message #468272] |
Wed, 05 August 2009 01:48 |
|
It would be good to get a bug logged to update the ROM. Can you log it?
Jason
John Ward wrote:
> Use a dynamic text element, then you can implement your script logic in
> the expression like:
>
> if (a == "abc")
> {
> "abc";
> }
> else
> {
> "def";
> }
>
> That ROM documentation hasn't been updated in some time.
>
> John
>
> Maxim Veksler wrote:
>> Hello,
>>
>> New to BIRT. Using BIRT 2.5 as embedded library in a servlet.
>>
>> I've tried to defined some script based logic on a Text field, I
>> wanted to replace the text that is being displayed to the user.
>>
>> Looking at the ROM,
>> http://www.eclipse.org/birt/phoenix/ref/rom/elements/Text.ht ml#Property-content
>> it seems that I need to define [[this.content = "ABC"]]
>>
>> Trying this did not work, but setting [[this.text = "ABC"]] did
>>
>> I don't see "Text.text" specified any where in the specifications.
>>
>> Am I looking at the wrong place?
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03140 seconds