You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/06 22:53:40 UTC
DO NOT REPLY [Bug 31080] New: -
struts-examples - Javascript Registration Form and other fail
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=31080>.
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=31080
struts-examples - Javascript Registration Form and other fail
Summary: struts-examples - Javascript Registration Form and other
fail
Product: Struts
Version: Nightly Build
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Validator Framework
AssignedTo: dev@struts.apache.org
ReportedBy: canrull@hotmail.com
I am not able to see javascript client messages for validation, because there
are errors in the generated javascript code.
I am using Struts 1.2.2, and the last version that may be working is 1.2.0. See
line 451:
results.append(" function " + jsFormName + "_" + functionName + " () { \n");
The jsFormName property changes function names from Struts 1.1, and make fail
the validation. The browser will say that "required is not defined", refering to
the following javascript code:
oRequired = new required();
in function validateRequired(form).
canrull
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org