DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36107>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36107 Summary: form tag is rendered w/o name attribute causes client- side validation to fail Product: Struts Version: 1.2.7 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Validator Framework AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] I'm using XHTML for my Struts tags, and when upgrading from Struts 1.2.4 to 1.2.7, it seems that the "name" attribute got dropped from the rendered HTML. I'm fine with this, but the validator is not: Error: formName has no properties Source file: scripts/validator.jsp Line: 184 Line 184 is the 2nd of the two below: var formName = form.getAttributeNode("name"); oRequired = eval('new ' + formName.value + '_required()'); Struts 1.2.4: <form name="userForm" method="post" action="/appfuse/saveUser.html" onsubmit="return validateUserForm(this)" id="userForm"> Struts 1.2.7: <form method="post" action="/appfuse/saveUser.html" onsubmit="return validateUserForm(this)" id="userForm"> I'm guessing I can workaround this bug by manually specifying a "name" attribute, or by removing XHTML. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]