Skip to main content



      Home
Home » Archived » BIRT » Report viewer, get user input and a dynamic list
Report viewer, get user input and a dynamic list [message #716590] Wed, 17 August 2011 15:19 Go to next message
Eclipse UserFriend
I am evaluating the report viewer and using that to get report parameter values from the user. One of them is a combo box list of choices that is populated via a database table.

In the report design file, I am using the beforeOpen event of the Data Source to run a global function (defined in initialize event) to set the url string, etc. for the database connection string.

This works great for the report generation. However, in the report viewer for user input, when it shows the choices in the combo box, it appears that the database url,etc are NOT being replaced in the Data Source. Is there a different place/event that I need to hook into with the report viewer so that the initialize and beforeOpen events fire before the combo box is rendered? It is using the default odaURL, etc. that is defined in the XML.

Thanks for any insight.
Re: Report viewer, get user input and a dynamic list [message #716608 is a reply to message #716590] Wed, 17 August 2011 16:34 Go to previous message
Eclipse UserFriend
When the viewer builds the viewer the initialize event does not fire,
but the beforeOpen event on the datasouce should fire.

Jason

On 8/17/2011 3:19 PM, Tim Ames wrote:
> I am evaluating the report viewer and using that to get report parameter
> values from the user. One of them is a combo box list of choices that is
> populated via a database table.
>
> In the report design file, I am using the beforeOpen event of the Data
> Source to run a global function (defined in initialize event) to set the
> url string, etc. for the database connection string.
>
> This works great for the report generation. However, in the report
> viewer for user input, when it shows the choices in the combo box, it
> appears that the database url,etc are NOT being replaced in the Data
> Source. Is there a different place/event that I need to hook into with
> the report viewer so that the initialize and beforeOpen events fire
> before the combo box is rendered? It is using the default odaURL, etc.
> that is defined in the XML.
>
> Thanks for any insight.
Previous Topic:layout horizontal / vertical
Next Topic:BIRT log files
Goto Forum:
  


Current Time: Wed Jul 16 01:27:01 EDT 2025

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

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

Back to the top