Skip to main content



      Home
Home » Archived » BIRT » Report parameters with multiplicity n
Report parameters with multiplicity n [message #206377] Thu, 14 December 2006 14:57 Go to next message
Eclipse UserFriend
Hopefully this is easy to do, but I've looked at the API, the report
designer, and documentation and found no mention of it.

Say my report has a parameter named "a", of type String. I can
dynamically compute the valid values to choose from, this all works
fine. What I now want to do is to allow n of these values to be passed
in to the report, in a list, array, collection, or something of the
sort. Is this possible?

Assuming it is possible, how does having "a" in a cascading parameter
group affect the functionality?

Assuming it is possible, are there any tricks I need to know about in
order to pass the value(s) through to my scripted ODA data source?

I'm using BIRT 2.1.1.

Thanks,

james
Re: Report parameters with multiplicity n [message #206762 is a reply to message #206377] Fri, 15 December 2006 12:42 Go to previous messageGo to next message
Eclipse UserFriend
BIRT currently does not support paramaters with a collection type.
A report can get access to the request parameters though. You may be able
to do it that way.

Jason

"James Moody" <James_Moody@ca.ibm.com> wrote in message
news:elsaar$5fk$1@utils.eclipse.org...
> Hopefully this is easy to do, but I've looked at the API, the report
> designer, and documentation and found no mention of it.
>
> Say my report has a parameter named "a", of type String. I can dynamically
> compute the valid values to choose from, this all works fine. What I now
> want to do is to allow n of these values to be passed in to the report, in
> a list, array, collection, or something of the sort. Is this possible?
>
> Assuming it is possible, how does having "a" in a cascading parameter
> group affect the functionality?
>
> Assuming it is possible, are there any tricks I need to know about in
> order to pass the value(s) through to my scripted ODA data source?
>
> I'm using BIRT 2.1.1.
>
> Thanks,
>
> james
Re: Report parameters with multiplicity n [message #206802 is a reply to message #206762] Fri, 15 December 2006 16:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jason,

Does it mean that you can only pass one parameter at a time to the report,
I am sorry but I dont understand what you said about passing multiple
parameters to a report.

If I am not worng wrong what you mean to say is that though you can pass
in multiple parameters for a report you cant pass multiple values of a
single parameter like in the form of an Array,List or things of that
nature.

Please clarify.

Thanks!
Re: Report parameters with multiplicity n [message #206862 is a reply to message #206802] Fri, 15 December 2006 23:15 Go to previous messageGo to next message
Eclipse UserFriend
Sorry I was not clear. You can pass multiple parameters, just not multiple
values for the
same parameter.

Jason

"Birt Guy" <merkhan@tiaa-cref.org> wrote in message
news:d3d3bed5a8079260d2e8ae018b1fb9c8$1@www.eclipse.org...
> Hi Jason,
>
> Does it mean that you can only pass one parameter at a time to the report,
> I am sorry but I dont understand what you said about passing multiple
> parameters to a report.
>
> If I am not worng wrong what you mean to say is that though you can pass
> in multiple parameters for a report you cant pass multiple values of a
> single parameter like in the form of an Array,List or things of that
> nature.
>
> Please clarify.
>
> Thanks!
Re: Report parameters with multiplicity n [message #207077 is a reply to message #206862] Mon, 18 December 2006 10:47 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the reply Jason!

Is there any work around for this limitation of BIRT , If so can you
please shed some light on the possible workaround.

Thanks!
Re: Report parameters with multiplicity n [message #207250 is a reply to message #207077] Tue, 19 December 2006 09:38 Go to previous message
Eclipse UserFriend
You could store objects in session and then use JavaScript to get the stored
values
in the beforeFactory event.

Jason

"Birt Guy" <merkhan@tiaa-cref.org> wrote in message
news:130e19b32e6ed29dbde2cc05c584ccab$1@www.eclipse.org...
> Thanks for the reply Jason!
>
> Is there any work around for this limitation of BIRT , If so can you
> please shed some light on the possible workaround.
>
> Thanks!
>
Previous Topic:comment not terminated properly error bugging me while creating reports
Next Topic:problen in birt-runtime-2_1_1 WAS 6.01
Goto Forum:
  


Current Time: Tue Jul 15 15:56:47 EDT 2025

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

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

Back to the top