Form has a clearErrors() method.

On 10/15/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I notice that when an error is recorded thru recordError, refreshing the
> form will not erase the error messages unlike when form was rejected by
> validator where pressing refresh in the browser can errase the errors and
> go
> back to the initial form screen, here is the code
> public void onValidate() throws EncoderException {
> _form.recordError("test error");
> }
>
> if this error is shown in the form, it will be there forever even you
> restart the browser, any hint?
> A.C.
> --
> View this message in context:
> http://www.nabble.com/T5%3A-refreshing-page-when-there-is-an-error-tf4627982.html#a13214217
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind

Reply via email to