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/10/05 01:27:36 UTC
DO NOT REPLY [Bug 13322] New: -
html:reset with no attributes defaults with a name of "reset"
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: struts-dev@jakarta.apache.org
ReportedBy: rxh@gers.com
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>