description", "id");
>
> Expose description and id on your model's object.
>
> And just add the listRenderer to the DDChoice (last param).
> Seems a lot simpler than what you are doing.
>
>
> -Original Message-
> From: Xavier López [mailto:xavi
s a lot simpler than what you are doing.
-Original Message-
From: Xavier López [mailto:xavil...@gmail.com]
Sent: Monday, November 09, 2009 9:37 AM
To: users@wicket.apache.org
Subject: Re: Combination CompoundPropertyModel and ChoiceRenderer on
DropDownChoice gives problems
Got it!
He
ment.equals(choices[i])', which will never return true. I
>> > got it
>> > to work overriding 'getModelObject' and doing this search with the
>> > opposite
>> >comp
t there is more to it, in order to achieve
> > > >AbstractSingleSelectChoice's getModelValue() to identify the
> > selected
> > > > choice
> > > >element, it calls 'indexOf' on the Choice List, using the
> > > > compundpropertymodel's bean
Element.equals(choices[i])', which will never return true.
> I
> > > got it
> > >to work overriding 'getModelObject' and doing this search with the
> > > opposite
> > >comparation (choices[i].equals(sear
But that's
> > extremely
> >hacky and ugly, and... it would not work for ListMultipleChoice, as
> >getModelValue is final...
> >
> >
> >
> > 2009/11/9 Ann Baert
> >
> >> I've created a jira issue with more information and an example for this
&g
t;
>
> 2009/11/9 Ann Baert
>
>> I've created a jira issue with more information and an example for this
>> problem:
>> https://issues.apache.org/jira/browse/WICKET-2565
>> DISCLAIMER
>>
>&
Hi Ann,
I've also encountered this problem, but with RadioChoice instead of
DropDownChoice.
This is the thread I started about it:
http://mail-archives.apache.org/mod_mbox/wicket-users/200911.mbox/browser
After all this thread, I still don't know what should I do to model, for
instance, a gende
I've created a jira issue with more information and an example for this
problem:
https://issues.apache.org/jira/browse/WICKET-2565
DISCLAIMER
http://www.tvh.com/newen2/emaildisclaimer/default.html
"This message is delivered to all addressees subject to the conditions
set forth in the