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=14949>. 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=14949 Combining Internationalization with the validator framework Summary: Combining Internationalization with the validator framework Product: Struts Version: Nightly Build Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Validator Framework AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When I tried out the Validator framework all worked fine, just until I changed my Language Preference in internet explorer to fr_be as first in the list. To be sure that it wasn't me that configured the validator wrong, I checked it with the Struts-validator.war example packaged with Struts. So I startup my MS internet explorer with language preference fr_be and surf to the address http://localhost:8080/struts-validator. All messages are in French no problem so far. But now it happens when I click the link "Formulaire de type" and proceed without filling anything in the validation is not performed. When I try the javascripts examples it appears that the Struts controller component didn't insert the following code -------------------------------------------------------------------------------- <!-- Begin var bCancel = false; function validateRegistrationForm(form) { if (bCancel) return true; else return validateRequired(form) && validateMask(form) && validateMinLength (form) && validateMaxLength(form) && validateEmail(form); } -------------------------------------------------------------------------------- Which causes the rest of the javacode to be printed visible (ugly). Now when I immmediatly save the front-end validation is not performed and server side validation is not executed as well This is obviously not the way to go When changing the Locale with the links and preforming the locale.do action the thing starts to work again in some cases Enjoy Life Steph -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>