Re: [Wicket-user] RadioChoice, default selection

2006-07-06 Thread Martijn Dashorst
This is not what Jeremy meant I think. I've written a blog entry on this subject: http://www.jroller.com/page/dashorst?entry=wicket_goodie_selecting_a_value I'll try to incorporate the example into our documentation at a later stage (writing a blog entry is soo much easier) Martijn On 05 Jul

Re: [Wicket-user] RadioChoice, default selection

2006-07-05 Thread Levy, Jeremy
You could just set the option in your model. Jeremy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Sullivan Sent: Wednesday, July 05, 2006 2:31 PM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] RadioChoice, default selection I am

Re: [Wicket-user] RadioChoice, default selection

2006-07-05 Thread Sean Sullivan
Thanks. I changed my implementation: radio.setModel(new Model(a)); This is a whole lot simpler than the CompoundPropertyModel approach that I was using. (BTW, my form has only input field: the radio choice) Sean Levy, Jeremy wrote: You could just set the option in your model.