Oh sorry, didn't mean to confuse things.  I got the impression he was
asking about field validation, not authentication.


-----Original Message-----
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
Sent: Monday, March 09, 2009 1:15 PM
To: Tapestry users
Subject: Re: cross field validation with empty fields

Em Mon, 09 Mar 2009 14:08:43 -0300, Luther Baker <lutherba...@gmail.com>

escreveu:

> Oddly enough, it is NOT the validation handler I want to bring to your
> attention to (here on this validation.html page :) and again,
obviously,
> this is Tapestry 5 - but notice how authentication is done in the
SUCCESS
> handler.

Authentication is not validation. They're different things.
Authentication
is made at onSuccess() because it is only made after the form validation

(ie the values of login and password are valid for that field). And you

should do validation at onValidate().

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


This message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed and may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute attorney work product. If you 
are not the intended recipient, you are hereby notified that any use, 
dissemination, distribution, or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by telephone and (i) destroy this message if a facsimile or (ii) 
delete this message immediately if an electronic communication.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to