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=22476>.
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=22476

Javascript validation fails with two forms on one page.

           Summary: Javascript validation fails with two forms on one page.
           Product: Struts
           Version: 1.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'm not to sure if this is a bug, probably more a limitation.

I currently have a page (made up of several tiles) that contains two forms. 
Both of these forms require validation (both forms contain fields that are
required).

Form FOO is contained within tile A, at the end of tile A I call
<html:javascript formName="FOO" staticJavascript="false" />.  Form BAR is
containted within tile B, at the end of tile B I call <html:javascript
formName="BAR" staticJavascript="false" />.  This results in two functions
called "required" rendering to the page and the javascript validation breaks.

Extra details:
 - The static javascript is rendered into the layout tile.
 - Happens in both Mozilla (Firebird) and IE 6.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to