Re: Struts Validator Framework: problem with Custom Validator

2008-06-26 Thread cacodemon79
No-reply? :( However, I solved. Now all works well. ** SERVER-SIDE ** To avoid the deprecated method Resources.getActionMessage(HttpServletRequest request, ValidatorAction va, Field field) I used Resources.getActionMessage(Validator v, HttpServletRequest request, ValidatorAction

Re: Struts Validator Framework: problem with Custom Validator

2008-06-25 Thread cacodemon79
Now, server-side validation works! I changed ActionErrors class with ActionMessages class into my java validation method and into "validator-rules.xml". The only problem is that Resources.getActionMessage(request, va, field) method in my custom validator class is deprecated and I don't know how to

Struts Validator Framework: problem with Custom Validator

2008-06-24 Thread cacodemon79
I'm using Struts 1.3. I'm trying to write a custom validator to check that 2 fields are identical. 1) I modified my validator-rules.xml by adding my own validator (called "uguale"): ** validator-rules.xml ** 2) I modified my validation.xml by

Re: Validator Framework problem

2006-11-30 Thread Niall Pemberton
On 11/28/06, Thomas Thomas <[EMAIL PROTECTED]> wrote: Hi, since I added a constraint for the length with minlength, I have the following errror : 28-nov.-2006 21:31:33 org.apache.struts.validator.DynaValidatorForm validate GRAVE: org.apache.struts.util.StrutsValidator org.apache.commons.validato

Re: Validator Framework problem

2006-11-30 Thread Thomas Thomas
Nobody can help me ? No-one has *Any* idea ?

Validator Framework problem

2006-11-28 Thread Thomas Thomas
Hi, since I added a constraint for the length with minlength, I have the following errror : 28-nov.-2006 21:31:33 org.apache.struts.validator.DynaValidatorForm validate GRAVE: org.apache.struts.util.StrutsValidator org.apache.commons.validator.ValidatorException: org.apache.struts.util.StrutsVali