Skip to main content



      Home
Home » Archived » BIRT » Selection List fetch from report is not public.
Selection List fetch from report is not public. [message #202722] Thu, 23 November 2006 06:24
Eclipse UserFriend
Originally posted by: first.last.remainSPAM.nl

Hi,

I am trying to fetch the selection list from a parameter definition.

Like this:

IGetParameterDefinitionTask par =
engine.createGetParameterDefinitionTask(report)

Iterator iter2 = par.getSelectionList(base.getName()).iterator();
for (int j = 0; iter2.hasNext(); j++) {
Object obj = iter2.next();

obj turns out to be of type

"GetParameterDefinitionTask$SelectionChoice" which cannot be accessed.

Casting to SelectionChoice in the structures leads to a class cast
exception.

I am refelcting the getValue method to get the value. But this is not
correct. What am i doing wrong?

Thanks,

Wim Jongman
Previous Topic:Is there any way to remove the date and time from the report page in BIRT Viewer
Next Topic:color in pie chart
Goto Forum:
  


Current Time: Tue Apr 29 00:18:22 EDT 2025

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

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

Back to the top