You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/04/25 21:00:47 UTC

[jira] Reopened: (STR-1034) [taglib] Use attribute 'id' instead of 'name' in html:form-Tag

     [ http://issues.apache.org/struts/browse/STR-1034?page=all ]
     
David Evans reopened STR-1034:
------------------------------

    Assign To:     (was: Struts Developer Mailing List)

> [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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org