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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to