BIRT Exchange Forum: Multi valued report parameter in Scripted data source - BIRT Exchange Forum

Jump to content


 

BIRT Poll: To best make a table fill a pdf page before breaking (PL=page layout, PBI=page break interval) set:

PL: auto, PBI: 0PL: fixed, PBI: 0PL: auto, PBI: 1000000PL: fixed, PBI: 1000000
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Multi valued report parameter in Scripted data source Rate Topic: -----

#1 User is offline   delta123 Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 12
  • Joined: 29-August 11


Posted 14 September 2011 - 06:08 PM

Hi All,
Anybody have an idea about how to get list of values of multi valued report parameter(List Box type) in scripted data source.
In my case, i am having a Date report parameter and want to make it List Box type.
In the case of JDBC data source, i am getting values of this parameter by connecting it with an existing data set column through Edit Parameter window.
But in Scripted data source,,i think i have to write script to get list of values for this report parameter,,,bt i hv no idea....so plz suggest me something.....

Its very urgent plz
0

#2 User is offline   mwilliams Icon

  • BIRT Guru
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 12937
  • Joined: 16-May 08


Posted 16 September 2011 - 08:00 AM

How do you need the values to be represented? In a comma separated string? If so, you'd just need to run the join function on params["yourparameter"].
Regards,

Michael

Twitter
Facebook
Blog
Yahoo: mwilliams_actuate@yahoo.com
Google: mwilliams.actuate@gmail.com
0

#3 User is offline   kalpanaravi Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 21
  • Joined: 14-April 12


Posted 24 April 2012 - 10:35 PM

Hi,
I would like to pass as string with comma seperated value as java method parameter.

Regards,
G.kalpana
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users