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

html:reset with no attributes defaults with a name of "reset"

           Summary: html:reset with no attributes defaults with a name of
                    "reset"
           Product: Struts
           Version: 1.0.2 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If I use <html:reset/> stuts inserts <input type="reset" name="reset"
value="Reset">.  On the surface this looks OK, but using a name of "reset"
disables the javascript function reset() on the form object.  Using a slightly
different name would be better.  Something along the lines of Reset, Clear, no
name at all.  Since JavaScript is case-sensitive, you can use Reset and the
function reset() will still work.

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

Reply via email to