Kevin Menard <kmenard <at> servprise.com> writes:

> > I was wondering why the clearErrors() method in ValidationDelegate
> > has been removed. It is required when refreshing a form.
> 
> Check out the clear() method.  It seems to do the same thing.  I'm  
> not quite sure why the name change since it is confusing and breaks  
> old code, but using clear() has been working for me.

No, they aren't the same. clearErrors() will only remove the
error renders, while the user inputs (maybe invalid inputs)
are still kept. clear() will remove all the field trackings
so the user inputs are also removed.

--
Author of e-book for learning Tapestry (www.agileskills2.org/EWDT)





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to