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
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
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
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
Nobody can help me ?
No-one has *Any* idea ?
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
6 matches
Mail list logo