looks correct, got a quickstart to replicate it?

-Igor


On 9/12/06, wicketmarsh <[EMAIL PROTECTED] > wrote:

Hi
do i need to always use radiogroup with listview?

i used it without listview but my radiogoup model is not updating.. here is
code

RadioGroup rg = new RadioGroup("group", new Model());

Radio r1 = new Radio("radio1", new Model("no"));

Radio r2 = new Radio("radio2", new Model("yes"));

rg.add(r1);
rg.add(r2);

i understand that on form submit the selected radio button model will be
attached to group.
so
public vois  onSubmit(){
   group.getModelObject(); // here i expect the selected radio button model
.. but i get null..
}

what is wrong with this code?

cheers,

marshwicket
--
View this message in context: http://www.nabble.com/Radiogroup-without-listview-tf2262520.html#a6277615
Sent from the Wicket - User forum at Nabble.com.


-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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