You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by LAMY Olivier <LA...@accor-hotels.com> on 2003/02/18 10:06:38 UTC

Problem with common-validator

Hi all,
I have a problem with the validator 1.0.1.
My validator.xml looks as this :

<form name="consultPlanningActionBarForm">
<field property="from" depends="required,planning_date,greaterThanDate,
lessThanDate, dateDifferences">

The validation is ok for : required,planning_date,greaterThanDate. But the
others validation methods are not called.

Is there any report with the bug 16045 ?
The validation was Ok with the validator 1.0
Thanks,
Olivier



	
**********************************************************************  
Ce message électronique et tous les fichiers joints ainsi que  les
informations contenues dans ce message (ci après "le message"), sont
confidentiels et destinés exclusivement à l'usage de la  personne à laquelle
ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le
renvoyer à son émetteur et de le détruire. Toute diffusion, publication,
totale ou partielle ou divulgation sous quelque forme que ce soit non
expressément autorisées de ce message, sont interdites.  
	
**********************************************************************  
This e-mail, any attachments and the information contained (herein " the
message") are confidential and intended solely for the use of the
addressee(s) if you have received this message in error please send it back
to the sender and delete it. Unauthorized publication, use, dissemination or
disclosure, either whole or partial, of this  message is strictly
prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


RE: Problem with common-validator

Posted by "Bradley M. Handy" <bh...@arbor.edu>.
I ran into something like this as well, but my problem was my method was
returning "false" when it should have been returning "true".  You might
want to do double check that on all of your methods just in case.

Brad Handy




-----Original Message-----
From: LAMY Olivier [mailto:LAMY_Olivier@accor-hotels.com] 
Sent: Tuesday, February 18, 2003 4:07 AM
To: commons-user@jakarta.apache.org; commons-dev@jakarta.apache.org
Subject: Problem with common-validator

Hi all,
I have a problem with the validator 1.0.1.
My validator.xml looks as this :

<form name="consultPlanningActionBarForm">
<field property="from" depends="required,planning_date,greaterThanDate,
lessThanDate, dateDifferences">

The validation is ok for : required,planning_date,greaterThanDate. But
the
others validation methods are not called.

Is there any report with the bug 16045 ?
The validation was Ok with the validator 1.0
Thanks,
Olivier



	
**********************************************************************  
Ce message électronique et tous les fichiers joints ainsi que  les
informations contenues dans ce message (ci après "le message"), sont
confidentiels et destinés exclusivement à l'usage de la  personne à
laquelle
ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le
renvoyer à son émetteur et de le détruire. Toute diffusion, publication,
totale ou partielle ou divulgation sous quelque forme que ce soit non
expressément autorisées de ce message, sont interdites.  
	
**********************************************************************  
This e-mail, any attachments and the information contained (herein " the
message") are confidential and intended solely for the use of the
addressee(s) if you have received this message in error please send it
back
to the sender and delete it. Unauthorized publication, use,
dissemination or
disclosure, either whole or partial, of this  message is strictly
prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org