On 7/30/07, Ed_ <[EMAIL PROTECTED]> wrote:
>
> http://mail-archives.apache.org/mod_mbox/wicket-commits/200707.mbox/[EMAIL 
> PROTECTED]
> Is there any correlation?

I don't think so, but I'm not much more experienced with wicket than
you are :-)

> > Thanks the toString override  seems to work in that the correct values/ids
> > that I want do get posted back.
> > Like you mentioned is this the right way to do it?

No, I think it's a quick hack to get it working in the
component->model direction :-)
I think the design of DropDownChoice implies you use a list of the
same class for choices as the actual model. Then you use a
ChoiceRenderer to pretty print them on the user-visible choice list.
But I could be wrong because I don't remember seeing this in any
documentation or tutorial :-)

Or is there a way to express "this" in the property expression
language? "." maybe?
Because the rating string in your model object is the choice id itself.


Gabor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to