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