Re: required if validation doesn'nt work

2006-09-15 Thread Niall Pemberton
You have configured your validator using the format for the "validwhen" validator - but specified the "requiredif" validator: For the "requiredif" validator you need to use the following type of configuration: http://struts.apache.org/1.2.x/userGuide/dev_validator.html#conditionals For the "val

Re: required if validation doesn'nt work

2006-09-15 Thread Heidy Gutiérrez Guzmán
The validation always fails, i don't have any kind of exeption. The key in the application resources is ok for that kind of message. This is the code that i put in the validatir.xml

Re: required if validation doesn'nt work

2006-09-15 Thread Niall Pemberton
On 9/15/06, Heidy Gutiérrez Guzmán <[EMAIL PROTECTED]> wrote: I'm using " requiredif " validation from Validator Framework, but does'nt work. I have de rule in the validator-rules.xml and the method validateRequiredIf exists in org.apache.struts.validator.FieldChecks in the struts jar. I have r

required if validation doesn'nt work

2006-09-14 Thread Heidy Gutiérrez Guzmán
I'm using " requiredif " validation from Validator Framework, but does'nt work. I have de rule in the validator-rules.xml and the method validateRequiredIf exists in org.apache.struts.validator.FieldChecks in the struts jar. I have read that requiredif is deprecated in struts 1.2, but that does'