DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10432>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10432 DynaValidatorActionForm does not validate data Summary: DynaValidatorActionForm does not validate data Product: Struts Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] DynaValidatorActionForm does not validate data. RESOLUTION : In DynaValidatorActionForm validator is initialized in this way Validator validator = StrutsValidatorUtil.initValidator(mapping.getPath (), this, application, request, errors, page); The problem is that mapping.getPath() returns servlet path, but validator is avaible by in hashtable via form name key, so validator cant find validation rules for this form. When I changed mamming.getPath() to mapping.getAttribute() it started to work (there is such case in another validator which works). I think that both should be changed to mapping.getName() which I think is most correct. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>