I have a RadioGroup with some radio buttons inside. Is ti possibile intercept radio selection change via ajax??

I've tried something like this, but nothing happens.

:
RadioGroup theGroup = new RadioGroup( "group-request-type", new PropertyModel(myBean,"requestType") );
theGroup.add( new Radio("radio-equipment",new Model("E")) );
theGroup.add( new Radio("radio-not-equipment",new Model("N")) );   
add( theGroup );


theGroup.add(new AjaxFormComponentUpdatingBehavior("onchange")
{

    protected void onUpdate(AjaxRequestTarget target)
    {
       target.addComponent( componentToUpdate );
    }
});


Any idea to make it to work?

Thanks, Paolo

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