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" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > 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: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]