struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: question about depends attribute in validator-rule.xml
Date Mon, 07 Jul 2003 10:18:51 GMT
it's the attribute you use to set the validation tests you want
validator to carry out, e.g. required, maxlength, creditCard

Kelvin wu wrote:
> Hi,
> could anyone tell me the meaning of depends attribute of validator element
> in validator-rules.xml?
> 
> 
> 
> ----- Original Message ----- 
> From: "Kelvin wu" <kelvinwu@ctihk.com>
> To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Sent: Friday, July 04, 2003 6:40 PM
> Subject: question about depends attribute in validator-rule.xml
> 
> 
> 
>>Hi, i am using struts validator and want to add a validation rule by
> 
> myself.
> 
>>i want the required validator only do validation when my custom validator
>>return true.
>>How can i do this?
>>
>>What is the meaning of depends attribute of validator element in
>>validator-rules.xml?
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message