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=20432>. 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=20432 Validator returns nulls in JavaScript validation Summary: Validator returns nulls in JavaScript validation Product: Struts Version: Nightly Build Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Validator Framework AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I switched from from 20030326 to last night's build today and found that the JavaScript was rendered incorrectly for client-side validation. The buggy JavaScript is: function required () { this.aa = new Array("fullName", "'null' is a required field.", new Function ("varName", " return this[varName];")); this.ab = new Array("phoneNum", "'null' is a required field.", new Function ("varName", " return this[varName];")); this.ac = new Array("msoName", "'null' is a required field.", new Function ("varName", " return this[varName];")); this.ad = new Array("passwordHint", "'null' is a required field.", new Function ("varName", " return this[varName];")); } With 20030326, it correctly renders as: function required () { this.aa = new Array("fullName", "'Full Name' is a required field.", new Function ("varName", " return this[varName];")); this.ab = new Array("phoneNum", "'Phone Number' is a required field.", new Function ("varName", " return this[varName];")); this.ac = new Array("msoName", "'MSO Name' is a required field.", new Function ("varName", " return this[varName];")); this.ad = new Array("passwordHint", "'Password Hint' is a required field.", new Function ("varName", " return this[varName];")); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]