Re: onError missing from SubmitLink
On Sat, Jan 15, 2011 at 1:43 AM, Jeremy Thomerson jer...@wickettraining.com wrote: On Fri, Jan 14, 2011 at 2:22 PM, Martin Grigorov mgrigo...@apache.org wrote: Since it is API change it can be ported to 1.4 Assuming he meant s/can/can't/ here. Yes, a typo. Cannot be ported to 1.4. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*
onError missing from SubmitLink
I made the following observation when working with a form today. When using an AjaxSubmitLink or AjaxButton you override the onSubmit and the onError methods. However normal non-ajax ones (SubmitLink and Button) have the onSubmit() method, but don't have the onError() method. Is that intentional? It didn't cause us any trouble since the Form's own onError() worked fine for us. I had just been surprised by the difference from between the ajax and normal component versions. -Clint
Re: onError missing from SubmitLink
This is fixed in 1.5. Since it is API change it can be ported to 1.4 On Fri, Jan 14, 2011 at 9:11 PM, Clint Checketts checke...@gmail.comwrote: I made the following observation when working with a form today. When using an AjaxSubmitLink or AjaxButton you override the onSubmit and the onError methods. However normal non-ajax ones (SubmitLink and Button) have the onSubmit() method, but don't have the onError() method. Is that intentional? It didn't cause us any trouble since the Form's own onError() worked fine for us. I had just been surprised by the difference from between the ajax and normal component versions. -Clint
Re: onError missing from SubmitLink
On Fri, Jan 14, 2011 at 2:22 PM, Martin Grigorov mgrigo...@apache.orgwrote: Since it is API change it can be ported to 1.4 Assuming he meant s/can/can't/ here. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*