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/06/23 07:45:26 UTC

DO NOT REPLY [Bug 4868] - FormTag.java styleId attribute conflicting with XHTML id attribute

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

FormTag.java styleId attribute conflicting with XHTML id attribute

craig.mcclanahan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From craig.mcclanahan@sun.com  2002-06-23 05:45 -------
Struts HTML tags are designed (primarily) to be compatible with HTML/4.01, where
the "id" attribute is very commonly used to select styles from a stylesheet. 
Therefore, there needs to be a way to generate this attribute in the HTML
elements generated by the Struts tags.  Struts, however, has to assume that the
page author is using this attribute as intended by the underlying specifications.

On the <form> element, "name" is often used in JavaScript functions on the same
page to reference the DOM of the form in question.  It would also create nasty
backwards incompatibilities to forgo generating it now.  Therefore, I don't plan
to change how Struts deals with this.

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