So then why do I get this message?

WicketMessage: No get method defined for class: class model.FormModel expression: radio1

Again, here is the code snippet:

RadioGroup group = new RadioGroup("response", new PropertyModel(q, "response"));
                add(group);
                group.add(new Radio("radio1"));

What I want is for the radio group to eventually save the selected value into q.setResponse().

Thanks,
Michael Day

On Apr 29, 2006, at 12:54 PM, Igor Vaynberg wrote:

no, assuming radio2 was selected it will be like this:

radioGroup.setModelObject(radio2.getModelObject())



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to