[Wicket-user] form with listview that contains radio groups?

2007-04-05 Thread Kurt R. Hoehn
I never really know what to put in the subject, but here is my question. I'm putting together a series of questions that exist under one profile and they are simple yes/no radio buttons and the user clicks yes or no for the question. I put together the form and it pulls and displays the informati

Re: [Wicket-user] form with listview that contains radio groups?

2007-04-05 Thread Sven Meier
You have to give the radio group a model, that is backed by your question object, not only the current value of its answer: RadioGroup answer = new RadioGroup("answer", new PropertyModel(question, "answer")); Kurt R. Hoehn wrote: > I never really know what to put in the subject, but here is my

Re: [Wicket-user] form with listview that contains radio groups?

2007-04-06 Thread Kurt R. Hoehn
Thank you, that worked perfect. -kurt On Thu, 2007-04-05 at 16:23 +0200, Sven Meier wrote: > You have to give the radio group a model, that is backed by your question > object, not only the current value of its answer: > > RadioGroup answer = new RadioGroup("answer", new PropertyModel(questi