Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT report parameters help
BIRT report parameters help [message #660969] Tue, 22 March 2011 10:20 Go to next message
mkrivic Mising name is currently offline mkrivic Mising name
Messages: 32
Registered: May 2010
Member
Hi,

On scripting BIRT report parameter, I can get parameter value:
example:

params["name"].value

As you can set that your parameter can be a list, and when adding some elements to list, we can put value and display text for parameter.
So, my question is:
Can I somehow script report parameter to get a display text of parameter element when choosing it, not value at this time?

Hope you understood my question.

Thanks, and regards,
Re: BIRT report parameters help [message #661067 is a reply to message #660969] Tue, 22 March 2011 19:52 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

If the list does not have multi-select checked you should be able to use:
params["name"].displayText;

Jason

On 3/22/2011 10:20 AM, mkrivic wrote:
> Hi,
>
> On scripting BIRT report parameter, I can get parameter value:
> example:
>
> params["name"].value
>
> As you can set that your parameter can be a list, and when adding some
> elements to list, we can put value and display text for parameter.
> So, my question is:
> Can I somehow script report parameter to get a display text of parameter
> element when choosing it, not value at this time?
>
> Hope you understood my question.
>
> Thanks, and regards,


Jason Weathersby

BIRT Exchange
Previous Topic:Exception Stack Trace
Next Topic:separation between the cells in reports
Goto Forum:
  


Current Time: Thu Apr 17 08:45:47 EDT 2014

Powered by FUDForum. Page generated in 0.04897 seconds