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 2003/02/20 17:01:21 UTC

DO NOT REPLY [Bug 15023] - Use attribute 'id' instead of 'name' in html:form-Tag

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

Use attribute 'id' instead of 'name' in html:form-Tag





------- Additional Comments From jjcollicott@hotmail.com  2003-02-20 16:01 -------
As a web developer concerned with the presentation layer, this enhancement is
important to me for two reasons:

1) In XHTML 1.0, the 'name' attribute has been deprecated in favor of the 'id'
attribute. http://www.w3.org/TR/xhtml1/#h-4.10

2) When scripting using DOM, the 'id' attribute is used to obtain references to
elements (not just form elements) within the page. I don't want to have to
rewrite client-side scripts to support a deprecated attribute just to use Struts
on the server-side. 

DOM method I use very frequently:
http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-getElBId

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org