You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by rkalsi <rk...@vpt.co.uk> on 2007/11/06 21:08:55 UTC
Best strategy to do custom server side validations and add errors
I need to do some validations across fields (e.g comparing password and
retypePassword fields on server).
At the moment, I inject a validationTracker into form using @Environment
annotation.
And, then use it in onValidate method, to add errors using recordError
method.
Is this the correct way, or am I on the wrong track ?
I am very new to tapestry (first week), so any pointers will be appreciated.
--Thanks.
--
View this message in context: http://www.nabble.com/Best-strategy-to-do-custom-server-side-validations-and-add-errors-tf4760676.html#a13614831
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org