You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ji...@barclayscapital.com on 2004/02/16 13:08:01 UTC
RE: validation mechanism - problem
This kind of validation can be achieved in your form's submit listener. Just
check that the values/objects that are bound to the selects are not equal,
setting some error message to return to the user if they are.
-----Original Message-----
From: Krthekeyan Suryanarayanan [mailto:krthekeyan@verchaska.com]
Sent: 16 February 2004 11:28
To: tapestry-user@jakarta.apache.org
Subject: validation mechanism - problem
Hi,
I would like to Introduce my self .
My name is krthekeyan currently working in tapestry framework. I am facing
problems in validating the forms. I will explain my problem in
validating the form.
I have forms which generate textfields dynamically.and has to gothrough some
business validations say
for example
I have 2 dropdowns and the value in the first dropdown should not be
selected
in the second dropdown. there are various business validations available
like
this.
as far as I looked at the exception mechanism in the framework. It is
takeing
the individual form component and validating it.
Is there a way that I could pass entire form in to the exception handler ,
then takeing the individual component in the exception handler class and
validate it once. and through the exception to the user.
how could I acheive this task. please little urgent.
thanks,
krthekeyan.s
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.
Internet communications are not secure and therefore the Barclays
Group does not accept legal responsibility for the contents of this
message. Although the Barclays Group operates anti-virus programmes,
it does not accept responsibility for any damage whatsoever that is
caused by viruses being passed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of the
Barclays Group. Replies to this email may be monitored by the Barclays
Group for operational or business reasons.
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org