Re: onError missing from SubmitLink

2011-01-15 Thread Martin Grigorov
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

2011-01-14 Thread Clint Checketts
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

2011-01-14 Thread Martin Grigorov
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

2011-01-14 Thread Jeremy Thomerson
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*