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 2002/05/06 15:06:59 UTC

DO NOT REPLY [Bug 8820] New: - html:submit default name conflicts with javascript

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

html:submit default name conflicts with javascript

           Summary: html:submit default name conflicts with javascript
           Product: Struts
           Version: Unknown
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: andrew.macbeth@fmr.com


The default name for html:submit tag is "submit". When attempting to submit the 
form via javascript, the javascript method form.submit() is confused by the 
default name "submit" and does not execute. Possible suggestions: 1-provide a 
name attribute to the tag to allow the developer to overwrite the default, or 2-
change the default name to the capitalized version: "Submit".

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>