DataSource Property Binding [message #547295] |
Fri, 16 July 2010 08:54 |
Cyril Rognon 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 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02957 seconds