the formsubmit submits the entire form and goes through the entire form processing workflow while the component updating will only submit the value for that one component and perform the form processing workflow on just that one component. but because of the nature of radiogroup/radio components the component updating behavior wont work.

-Igor


On 6/29/06, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
Well, with AjaxFormSubmitBehavior work with both "onclick" and "onchange" event .. quite impressive!

But I'm get a bit confused about wicket ajax model .. if so which is the main difference between AjaxFormSubmitBehavior and AjaxFormComponentUpdatingBehavior? How to choose between them?

Anyway thank you for Wicket, is really a great work!

Paolo



On 6/28/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
the problem is that radiogroup is not a component on its own, neither is radio, instead you have to think of them as a composite component - both parts working together. you add a behavior to the radiogroup, but a radiogroup is nothing more then a wicket proxy for the radio components. in fact if you look at the output html the radiogroup doesnt even output its tags, so ajax behavior is not written out.

so what you need to do is attach the behavior to Radio - but the problem is radio is not a form component so you cannot add a formcomponentupdating behavior to it.

what i would try is to do this

radio.add (new AjaxFormSubmitBehavior(form, "onclick")) that way the behavior is attached to the proper <input html component

let me know if it works

-Igor




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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to