[ http://issues.apache.org/struts/browse/STR-1034?page=all ]
David Evans closed STR-1034:
----------------------------
Resolution: Fixed
> [taglib] Use attribute 'id' instead of 'name' in html:form-Tag
> --------------------------------------------------------------
>
> Key: STR-1034
> URL: http://issues.apache.org/struts/browse/STR-1034
> Project: Struts Action 1
> Type: Improvement
> Components: Taglibs
> Versions: Nightly Build
> Environment: Operating System: All
> Platform: All
> Reporter: Gerhard Bloch
> Priority: Minor
> Fix For: 1.2 Family
> Attachments: struts_xhtml_form_patch.tar.gz
>
> The html:form-Tag creates a 'name' attribute which is used by the
> focus-Script.
> However in XHTML 1.0 Strict there is no such attribute defined for the 'form'
> Tag.
> Use of the attribute 'id' could solve this issue. However there might be a
> possible danger because id is declared to be an ID and enforces
> document-scope
> uniqueness. In contrast 'name" is declared to be an NMTOKEN which doesn't
> enforce this requirement.
> The use of 'id' will enhance conformance to the standard. As is, the document
> has to be declared XHTML 1.0 Transitional if the html:form-Tag is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]