Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » DataSource Property Binding (what object can I access in this expression builder ?)
DataSource Property Binding [message #547295] Fri, 16 July 2010 08:54 Go to next message
Cyril Rognon is currently offline Cyril RognonFriend
Messages: 24
Registered: July 2010
Junior Member
Hello all,

Birt rocks and I have been using it for a while now. These days I have been using much of xml datasources.

This has taken me to the path of dynamic xml datasources.

Now I have succeeded in handling dynamic datasources with PropertyBinding : I can set the url of the xml datasource in this simple property binding field.

The trouble is I would like to have access to the default value of the FileList property of the Datasource.

I have tried to use this.getExtensionProperty in this expression builder but it says this method doesn't exists in Object class.

Is this a bug or can I really get to the datasource itself or any object that could get me the filelist property ? Or a way to test if the property binding must not occur ?

Thanks for your help, I hope I have been clear enough.

Regards,
Cyril

[Updated on: Fri, 16 July 2010 08:54]

Report message to a moderator

Re: DataSource Property Binding [message #547377 is a reply to message #547295] Fri, 16 July 2010 13:53 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Cyril,

I normally just use the beforeOpen script, but even in the expression
builder on the property binding you could enter something like:
currxmlds =reportContext.getDesignHandle().findDataSource("Data
Source").getProperty("FILELIST")

There should be a local property for this. If you want to add an
enhancement that would be good.

Jason

On 7/16/2010 4:54 AM, Cyril Rognon wrote:
> Hello all,
>
> Birt rocks and I have been using it for a while now. These days I have
> been using much of xml datasources.
>
> This has taken me to the path of dynamic xml datasources.
>
> Now I have succeeded in handling dynamic datasources with
> PropertyBinding : I can set the url of the xml datasource in this simple
> property binding field.
>
> The trouble is I would like to have access to the default value of the
> FileList property of the Datasource.
>
> I have tried to use this.getExtensionProperty in this expression builder
> but it says this method doesn't exists in Object class.
>
> Is this a bug or can I really get to the datasource itself or any object
> that could get me the filelist property ? Or a way to test if the
> property binding must not occur ?
>
> Thanks for your help, I hope I have been clear enough.
>
> Regards,
> Cyril
Previous Topic:BirtDuration.day
Next Topic:Upgrade Birt Engine 2.3.2 to 2.6
Goto Forum:
  


Current Time: Fri Apr 26 06:37:07 GMT 2024

Powered by FUDForum. Page generated in 0.02957 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top