On Friday 18 May 2007 4:27 pm, Johan Compagner escreveu:
> a converter and choice renderer is not really the same thing
> But i guess if you give a list of strings to the DDC that it displays
> then the converter can convert the selected object to that string and back
> again
> that should also work yes.

        Cool.  Actually, what I do is load objects from the db using ibatis and 
give 
those to the DDC and the converter pulls the strings to display.  Works 
really well.

>
> the choicerender is if you don't want to do that upfront but just have
> a list of Objects/Pojos and the selected object is also that Object/Pojo
> then you the toString is done for you
>
> johan
>
> On 5/18/07, Thomas R. Corbin <[EMAIL PROTECTED]> wrote:
> > I had started to use a ChoiceRenderer when I started with wicket, but
> > quickly
> > found that registering a converter was easier for me.
> >
> > Is that an unusual way of dealing with DDC?
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to