On Wed, 19 Sep 2007 12:32:09 +0200
"Johan Compagner" <[EMAIL PROTECTED]> wrote:
> thats final
> you could try to do something with:
>
> protected Object convertChoiceIdToChoice(String id)
Right, sorry ^^
> But that is an id and how is that id converted to what?
> Is that the ClassDescriptionBean?
Exactly
> And that Again must be converted to something else?
Exactly again.. I the end I went with
@Override
protected Object convertChoiceIdToChoice(String id) {
Object ret=super.convertChoiceIdToChoice(id);
if(ret instanceof ClassDescriptionBean)
ret=((ClassDescriptionBean)ret).getType();
return ret;
}
Works pretty well ^^
Many thanks for your time!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]