struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <jbarr...@sssc.com>
Subject RE: Validator Framework
Date Tue, 21 Dec 2004 20:34:54 GMT


> -----Original Message-----
> From: Carolina Serrano [mailto:cserrano@cubika.com]
> Sent: Tuesday, December 21, 2004 1:35 PM
> To: user@struts.apache.org
> Subject: Validator Framework
> 
> 
> 
> I'm using the validator framework , doing validations that depends on
> others.
> 
> for example: dateafterthat depends on  date.
> 
> the dependations in the server run ok, 
> but it failed  when it has to validate in the client both: 
> 1st date and 2nd
> dateafterthan.
> 
> According the documentation: "if  1st(date) fail don't 
> continue", so that
> error shouldn´t happen. 
> 
> The first validation does not ocurre in the client side but the 2nd
> validation does. There is no error in server side.

Both validations must happen on either the server, or the client side.  You can't mix where
they happen using the validation framework, especially if the first is supposed to fire on
the server.



> 
> Thanks 
> Carito 
> 

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


Mime
View raw message