Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Stephen Swinsburg
quickstart checked out ok via: CompoundPropertyModel testModel = new CompoundPropertyModel(testObject); Form form = new Form("form", testModel); RadioGroup groupOne = new RadioGroup("groupOne", new PropertyModel(testModel, "paramOne")); groupOne.add(new Radio("on", new Model(new Boolean(true)

Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Stephen Swinsburg
will do in the next few days. thanks igor. cheers, Steve On 16/02/2009, at 6:10 PM, Igor Vaynberg wrote: ive used that exact usecase dozens of times, quickstart please -igor On Mon, Feb 16, 2009 at 10:01 AM, Stephen Swinsburg wrote: yeah its added and it renders and everything seems to work

Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Igor Vaynberg
ive used that exact usecase dozens of times, quickstart please -igor On Mon, Feb 16, 2009 at 10:01 AM, Stephen Swinsburg wrote: > yeah its added and it renders and everything seems to work except its not > setting any data. > > cheers, > steve > > > On 16/02/2009, at 5:21 PM, Igor Vaynberg wrote

Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Stephen Swinsburg
yeah its added and it renders and everything seems to work except its not setting any data. cheers, steve On 16/02/2009, at 5:21 PM, Igor Vaynberg wrote: did you add emailRequests to the form or somewhere under? -igor On Mon, Feb 16, 2009 at 8:12 AM, Steve Swinsburg wrote: Hi all, I can

Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Igor Vaynberg
did you add emailRequests to the form or somewhere under? -igor On Mon, Feb 16, 2009 at 8:12 AM, Steve Swinsburg wrote: > Hi all, > I can't figure out how the RadioGroup component works in Wicket > My use case is this. I have a bunch of parameters which I need a true/false > answer for. So each

simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Steve Swinsburg
Hi all, I can't figure out how the RadioGroup component works in Wicket My use case is this. I have a bunch of parameters which I need a true/ false answer for. So each group of choices (true or false) will map to a boolean parameter in my PropertyModel. What is wrong with this code: Comp