Skip to main content



      Home
Home » Archived » BIRT » Getting Parameter Information
Getting Parameter Information [message #135135] Thu, 23 February 2006 09:56 Go to next message
Eclipse UserFriend
Originally posted by: tmbyrne2002.yahoo.com

I am iterating through an IReportRunnable object's parameter definitions
via an IGetParameterDefinitionTask. Using this methodology, I've noticed
that the 'getDisplayName()' method of the IParameterDefn always returns
null, while I was perhaps incorrectly expecting it to return the
parameter's 'prompt text'. How can I return the prompt text?

I also would like to know if there are methods available for returning the
parameter's default value and the list of acceptable values for dynamic
parameters. There didn't appear to be a way to get these items through
the api, am I missing it?
Re: Getting Parameter Information [message #135752 is a reply to message #135135] Fri, 24 February 2006 07:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aislan.phoebus.com.br

I had the same problem.

"tmbyrne" <tmbyrne2002@yahoo.com> escreveu na mensagem
news:7f5f8816376906314847853ab35f5c20$1@www.eclipse.org...
>I am iterating through an IReportRunnable object's parameter definitions
>via an IGetParameterDefinitionTask. Using this methodology, I've noticed
>that the 'getDisplayName()' method of the IParameterDefn always returns
>null, while I was perhaps incorrectly expecting it to return the
>parameter's 'prompt text'. How can I return the prompt text?
>
> I also would like to know if there are methods available for returning the
> parameter's default value and the list of acceptable values for dynamic
> parameters. There didn't appear to be a way to get these items through
> the api, am I missing it?
>
Re: Getting Parameter Information [message #137621 is a reply to message #135752] Wed, 01 March 2006 11:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tmbyrne2002.yahoo.com

A lot of my questions were answered here:
http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.p hp

Dunno how I missed that document originally, sorry!
Re: Getting Parameter Information [message #142463 is a reply to message #137621] Thu, 09 March 2006 22:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jonathan.biomatters.com

Hi,

I have been using this document and it has helped me to build the birt
report engine into my application.

I am still confused with the getDisplayName() returning null however. I
seem to have followed the examples in the article but cannot find a way
to get the parameter's display name out ... just getName() which of
course is not user friendly.

Has anyone cracked this? Apologies if i'm missing a very obvious point here.

thanks
Jonathan

tmbyrne wrote:
> A lot of my questions were answered here:
> http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.p hp
>
> Dunno how I missed that document originally, sorry!
>
Re: Getting Parameter Information [message #147638 is a reply to message #142463] Thu, 23 March 2006 17:15 Go to previous message
Eclipse UserFriend
Originally posted by: brandon.shannon.s1.com

The 2.0 versions of the rptdesigns don't have this XML element anymore. The
1.0 versions do.

If you need them, you'll have to add them to the XML report designs
manually.

Brandon


"Jonathan" <jonathan@biomatters.com> wrote in message
news:4410F8DD.1040005@biomatters.com...
> Hi,
>
> I have been using this document and it has helped me to build the birt
> report engine into my application.
>
> I am still confused with the getDisplayName() returning null however. I
> seem to have followed the examples in the article but cannot find a way to
> get the parameter's display name out ... just getName() which of course is
> not user friendly.
>
> Has anyone cracked this? Apologies if i'm missing a very obvious point
> here.
>
> thanks
> Jonathan
>
> tmbyrne wrote:
>> A lot of my questions were answered here:
>> http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.p hp
>>
>> Dunno how I missed that document originally, sorry!
>>
Previous Topic:Null Dates causing problems
Next Topic:Sort Column on the Fly (Urgent, please help!!)
Goto Forum:
  


Current Time: Sat Nov 08 04:26:56 EST 2025

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

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

Back to the top