Skip to main content



      Home
Home » Archived » BIRT » Report Parameter Combo Items
Report Parameter Combo Items [message #33364] Tue, 03 May 2005 09:12 Go to next message
Eclipse UserFriend
Originally posted by: Zohair.hasan.snstech.com

Hi,

While getting the parameter input from user,if its a Combo Box,can we
retrive the items from Database.Say i want to get the details of the
specefic department supplied by the user as input,can Combo list be
dynamically generated? for example from database,so that modifications in
database will reflect the Combo items of Report Parameters too.
Is there any possibility by which we can implement this in Birt.

Anyone got this working, please help!!

Using Birt M2 build .
Thanks in advance
Re: Report Parameter Combo Items [message #33469 is a reply to message #33364] Tue, 03 May 2005 10:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: a14342.gmail.com

Zohair,
Just my looking at the screen, options,it doesnt look it is possible to
get the data from database to populate the list box..I also had a exact
question!!.

On a side note, do you know how to bind a report parameter and data set
parameter ?

-Naveen

Zohair wrote:

> Hi,

> While getting the parameter input from user,if its a Combo Box,can we
> retrive the items from Database.Say i want to get the details of the
> specefic department supplied by the user as input,can Combo list be
> dynamically generated? for example from database,so that modifications in
> database will reflect the Combo items of Report Parameters too.
> Is there any possibility by which we can implement this in Birt.

> Anyone got this working, please help!!

> Using Birt M2 build .
> Thanks in advance
Re: Report Parameter Combo Items [message #33711 is a reply to message #33469] Tue, 03 May 2005 17:09 Go to previous messageGo to next message
Eclipse UserFriend
Naveen & Zohair,

BIRT 1.0 won't provide dynamic parameters (lists that come from the
database), but it is proposed for a later release. The proposed design is
described in the ROM specs in the section that describes parameters.
Briefly, the idea is that you'll be able to declare a BIRT data set that
provides the data, and that data set will be used to obtain the list. Does
this feature sound like one that would solve your problem? Are there
specific requirements you can suggest?

In the mean time, you can create a custom parameter page using JSP or PHP.
You can use the Java or PHP techniques for accessing the database. The
custom parameter pages allow you to integrate these pages more closely with
your application, then delegate to BIRT the responsibility of running the
reports. Will this solution work for your app, or would you prefer to use
the BIRT parameter UI?

There was question about how to bind a report and data set parameter. See
this page for details:

http://www.eclipse.org/birt/index.php?page=faq/params.html

And, see the Data Set Parameters section of this page:

http://www.eclipse.org/birt/index.php?page=faq/data.html

Thanks,

- Paul

Paul Rogers
BIRT PMC


"Naveen" <a14342@gmail.com> wrote in message
news:f398b643d2202366a7426ffd66d89800$1@www.eclipse.org...
> Zohair,
> Just my looking at the screen, options,it doesnt look it is possible to
> get the data from database to populate the list box..I also had a exact
> question!!.
> On a side note, do you know how to bind a report parameter and data set
> parameter ?
>
> -Naveen
>
> Zohair wrote:
>
>> Hi,
>
>> While getting the parameter input from user,if its a Combo Box,can we
>> retrive the items from Database.Say i want to get the details of the
>> specefic department supplied by the user as input,can Combo list be
>> dynamically generated? for example from database,so that modifications in
>> database will reflect the Combo items of Report Parameters too.
>> Is there any possibility by which we can implement this in Birt.
>
>> Anyone got this working, please help!!
>
>> Using Birt M2 build .
>> Thanks in advance
>
>
BIRT Documentation [message #33975 is a reply to message #33711] Wed, 04 May 2005 00:24 Go to previous messageGo to next message
Eclipse UserFriend
Hi Paul,

Just want to know what we will expect on documentaion or help file that
comes with BIRT 1.0 that will be released this coming May 15...does it
contains topic such as on how to use parameter, sub-report, integration,
scripting and etc..

thanks,
wins
Re: Report Parameter Combo Items [message #34237 is a reply to message #33711] Wed, 04 May 2005 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Zohair.Hasan.snstech.com

Hi,
Thanks paul for your reply.As you suggested,creating a JSP page will
resolve my issue of generating the Input Parameters dynamically(from
database),the problem i am facing currently is invoking the Birt
Application from my Struts based applications and deligating the
parameters passed by JSP to the Birt report.
Can anybody help me out in this??

Thanks in Advance.
-Zohair
Re: Report Parameter Combo Items [message #34306 is a reply to message #34237] Wed, 04 May 2005 18:22 Go to previous messageGo to next message
Eclipse UserFriend
Zohair,

A quick solution is to redirect the web browser to the BIRT web app. See the
"PHP" page on the "integration" area of the BIRT web page for an example,
and the the Viewer areas on the "integration" area for the format of the URL
to run & display a report.

Longer term, you can use the components within the BIRT web app (viewer) as
examples of how to call the report engine directly.

- Paul

Paul Rogers
BIRT PMC

"Zohair" <Zohair.Hasan@snstech.com> wrote in message
news:1c68b43f5058eb210bfc6a59fb9d10d6$1@www.eclipse.org...
> Hi,
> Thanks paul for your reply.As you suggested,creating a JSP page will
> resolve my issue of generating the Input Parameters dynamically(from
> database),the problem i am facing currently is invoking the Birt
> Application from my Struts based applications and deligating the
> parameters passed by JSP to the Birt report.
> Can anybody help me out in this??
>
> Thanks in Advance.
> -Zohair
>
Re: BIRT Documentation [message #34340 is a reply to message #33975] Wed, 04 May 2005 18:27 Go to previous messageGo to next message
Eclipse UserFriend
Wins,

The goal is to provide comprehensive online help in the 1.0 release in May.
Some topics may not quite be ready, but will appear in subsequent releases.
A BIRT book will also be available this year.

- Paul

Paul Rogers
BIRT PMC

"wins" <winstonguadiz@yahoo.com> wrote in message
news:e13dec98ac983f2383bb8e3ba3124716$1@www.eclipse.org...
> Hi Paul,
>
> Just want to know what we will expect on documentaion or help file that
> comes with BIRT 1.0 that will be released this coming May 15...does it
> contains topic such as on how to use parameter, sub-report, integration,
> scripting and etc..
>
> thanks,
> wins
>
Re: BIRT Documentation [message #34375 is a reply to message #34340] Wed, 04 May 2005 18:33 Go to previous messageGo to next message
Eclipse UserFriend
Parameters and sub-reports will certainly be covered in the first release of
the documentation. There will be some information about integration. I can't
say for sure what will be available on the subject of scripting.

--
Jane Tatchell
BIRT documentation lead


"Paul Rogers" <progers@actuate.com> wrote in message
news:d5bijt$gd5$1@news.eclipse.org...
> Wins,
>
> The goal is to provide comprehensive online help in the 1.0 release in
May.
> Some topics may not quite be ready, but will appear in subsequent
releases.
> A BIRT book will also be available this year.
>
> - Paul
>
> Paul Rogers
> BIRT PMC
>
> "wins" <winstonguadiz@yahoo.com> wrote in message
> news:e13dec98ac983f2383bb8e3ba3124716$1@www.eclipse.org...
> > Hi Paul,
> >
> > Just want to know what we will expect on documentaion or help file that
> > comes with BIRT 1.0 that will be released this coming May 15...does it
> > contains topic such as on how to use parameter, sub-report, integration,
> > scripting and etc..
> >
> > thanks,
> > wins
> >
>
>
Re: BIRT Documentation [message #34511 is a reply to message #34375] Wed, 04 May 2005 23:26 Go to previous messageGo to next message
Eclipse UserFriend
thanks for the info...

wins
Re: Report Parameter Combo Items [message #34545 is a reply to message #33711] Thu, 05 May 2005 01:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: a14342.gmail.com

Paul,

I tried binding the Dataset and report parameter. After binding, data is
not getting retrieved from database dynamically based on what user
entered. Data retreived from datbase is based on the defaul value entered
in the Data set parameter only.

I also tried not giving any value in Data set parameter default. Still
data is not getting retreived from database based on user input.

I am using Tomcat 4.1.3 and M2 build.

-Naveen

Paul Rogers wrote:

> Naveen & Zohair,

> BIRT 1.0 won't provide dynamic parameters (lists that come from the
> database), but it is proposed for a later release. The proposed design is
> described in the ROM specs in the section that describes parameters.
> Briefly, the idea is that you'll be able to declare a BIRT data set that
> provides the data, and that data set will be used to obtain the list. Does
> this feature sound like one that would solve your problem? Are there
> specific requirements you can suggest?

> In the mean time, you can create a custom parameter page using JSP or PHP.
> You can use the Java or PHP techniques for accessing the database. The
> custom parameter pages allow you to integrate these pages more closely with
> your application, then delegate to BIRT the responsibility of running the
> reports. Will this solution work for your app, or would you prefer to use
> the BIRT parameter UI?

> There was question about how to bind a report and data set parameter. See
> this page for details:

> http://www.eclipse.org/birt/index.php?page=faq/params.html

> And, see the Data Set Parameters section of this page:

> http://www.eclipse.org/birt/index.php?page=faq/data.html

> Thanks,

> - Paul

> Paul Rogers
> BIRT PMC


> "Naveen" <a14342@gmail.com> wrote in message
> news:f398b643d2202366a7426ffd66d89800$1@www.eclipse.org...
>> Zohair,
>> Just my looking at the screen, options,it doesnt look it is possible to
>> get the data from database to populate the list box..I also had a exact
>> question!!.
>> On a side note, do you know how to bind a report parameter and data set
>> parameter ?
>>
>> -Naveen
>>
>> Zohair wrote:
>>
>>> Hi,
>>
>>> While getting the parameter input from user,if its a Combo Box,can we
>>> retrive the items from Database.Say i want to get the details of the
>>> specefic department supplied by the user as input,can Combo list be
>>> dynamically generated? for example from database,so that modifications in
>>> database will reflect the Combo items of Report Parameters too.
>>> Is there any possibility by which we can implement this in Birt.
>>
>>> Anyone got this working, please help!!
>>
>>> Using Birt M2 build .
>>> Thanks in advance
>>
>>
Re: Report Parameter Combo Items [message #36036 is a reply to message #34545] Tue, 10 May 2005 17:18 Go to previous message
Eclipse UserFriend
Naveen,

Sorry for the delay in responding. The parameter value passing should work
in M2 and M3. Here are some things to try:

1. Create a data item at the top of your report to display the report
parameter value. Does it look right?

2. Double-check that the data set parameter is bound to the report parameter
in the the Binding page of the property editor for your Table or List report
item.

3. When you test your data set in the Data Set editor, does it display only
those rows that match the default value of your data set parameter? If not,
then double-check that your query has a WHERE something = ? clause.

If all else fails, please e-mail me your design file and I'll see if I can
figure out what might be wrong.

- Paul

Paul Rogers
BIRT PMC

"Naveen" <a14342@gmail.com> wrote in message
news:f7472ca2c17357cb45e7b2d2e30d6599$1@www.eclipse.org...
> Paul,
>
> I tried binding the Dataset and report parameter. After binding, data is
> not getting retrieved from database dynamically based on what user
> entered. Data retreived from datbase is based on the defaul value entered
> in the Data set parameter only.
> I also tried not giving any value in Data set parameter default. Still
> data is not getting retreived from database based on user input.
>
> I am using Tomcat 4.1.3 and M2 build.
>
> -Naveen
>
> Paul Rogers wrote:
>
>> Naveen & Zohair,
>
>> BIRT 1.0 won't provide dynamic parameters (lists that come from the
>> database), but it is proposed for a later release. The proposed design is
>> described in the ROM specs in the section that describes parameters.
>> Briefly, the idea is that you'll be able to declare a BIRT data set that
>> provides the data, and that data set will be used to obtain the list.
>> Does this feature sound like one that would solve your problem? Are there
>> specific requirements you can suggest?
>
>> In the mean time, you can create a custom parameter page using JSP or
>> PHP. You can use the Java or PHP techniques for accessing the database.
>> The custom parameter pages allow you to integrate these pages more
>> closely with your application, then delegate to BIRT the responsibility
>> of running the reports. Will this solution work for your app, or would
>> you prefer to use the BIRT parameter UI?
>
>> There was question about how to bind a report and data set parameter. See
>> this page for details:
>
>> http://www.eclipse.org/birt/index.php?page=faq/params.html
>
>> And, see the Data Set Parameters section of this page:
>
>> http://www.eclipse.org/birt/index.php?page=faq/data.html
>
>> Thanks,
>
>> - Paul
>
>> Paul Rogers
>> BIRT PMC
>
>
>> "Naveen" <a14342@gmail.com> wrote in message
>> news:f398b643d2202366a7426ffd66d89800$1@www.eclipse.org...
>>> Zohair,
>>> Just my looking at the screen, options,it doesnt look it is possible to
>>> get the data from database to populate the list box..I also had a exact
>>> question!!.
>>> On a side note, do you know how to bind a report parameter and data set
>>> parameter ?
>>>
>>> -Naveen
>>>
>>> Zohair wrote:
>>>
>>>> Hi,
>>>
>>>> While getting the parameter input from user,if its a Combo Box,can we
>>>> retrive the items from Database.Say i want to get the details of the
>>>> specefic department supplied by the user as input,can Combo list be
>>>> dynamically generated? for example from database,so that modifications
>>>> in database will reflect the Combo items of Report Parameters too.
>>>> Is there any possibility by which we can implement this in Birt.
>>>
>>>> Anyone got this working, please help!!
>>>
>>>> Using Birt M2 build .
>>>> Thanks in advance
>>>
>>>
>
>
Previous Topic:Oda data source and the 'Edit Data set' dialog, query getting lost
Next Topic:Engine API & M3 install info posted
Goto Forum:
  


Current Time: Mon Jun 02 07:13:47 EDT 2025

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

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

Back to the top