struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Sherman <a...@teachandtravel.com>
Subject Re: FW: {Validator] Required Fields
Date Tue, 22 Oct 2002 13:25:51 GMT
Jerry Jalenak wrote:
> One thing I don't understand is, why would all of the definitions in
> validator-rules.xml have the 'depend=required' attribute?  I would think the
> application designer would want to be able to specify which fields are
> required, etc. and not have validator make the choice for him/her....

Maybe someone assumed that you would never want a field to be (blank or 
valid). Some fields need to be validated only if they contain a value.

Can one of the developers comment on this?

Thanks,

A.

-- 
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103



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


Mime
View raw message