You are right. The user properties or named
_expression_ won’t be outputted as HTML attributes. They are designed for
use in scripts.
-wenbin
From:
birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Kai Fei
Sent: Wednesday, June 17, 2009
1:51 AM
To: For developers on the BIRT project
Subject: Re: [birt-dev] How to add
a user attribute for a table
Thanks Rick,
I tried User properties and Named expressions, neither works.
After BIRT generated the HTML code, the properties or expressions that I added
was gone. It won't be added as the attribute of a HTML element.
I think these two propties are for BIRT to interact with js code but won't
export it as a HTML attribute.
Like:
this.getNamedExpression("myNamedExp");
this.getUserProperties('myProp');
Did you tried your idea? Maybe I did something wrong...
On
Wed, Jun 17, 2009 at 4:01 PM, Rick Lu <rlu@xxxxxxxxxxx>
wrote:
The user property definition can support custom
properties. But it isn’t
written out like the XML attribute you specified. Please try user properties
from the property editor.
Thanks.
Rick Lu
Actuate Software Shanghai Center
Tel: (86)21-58826388
Fax: (86)21-58826002
Email: rlu@xxxxxxxxxxx
Hi,
I'm using BIRT 2.1.1
I have a very special requirement that is to add a customised attribute for a
table.
the result that I'm expecting BIRT to generate is like:
<table myAttr="sampleAttri">
....
</table>
What shall I do in BIRT design?
Kevin
_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-dev