Selection List fetch from report is not public. [message #202722] |
Thu, 23 November 2006 06:24 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05421 seconds