You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Benjamin Hawkes-Lewis (JIRA)" <de...@myfaces.apache.org> on 2006/05/01 00:58:40 UTC

[jira] Commented: (MYFACES-654) HTML TLD differences between myFaces and the RI

    [ http://issues.apache.org/jira/browse/MYFACES-654?page=comments#action_12377196 ] 

Benjamin Hawkes-Lewis commented on MYFACES-654:
-----------------------------------------------

Hello.

I'm confused about the status of the name attribute on form elements issue.

Reading JIRA MYFACES-798 and Grant Smith's 8 November comment above implies that it has been resolved. But the "current" org.apache.myfaces.shared.renderkit.html.HtmlFormRendererBase still contains the line which (I assume) causes the "name" attribute to be added to the "form" element (line 63: "        writer.writeAttribute(HTML.NAME_ATTR, clientId, null);"). As far as I can tell, this revision 395926 is the latest version in the Subversion repository, so this issue looks suspiciously like it is still live.

I've probably just misunderstood something (I'm only a newbie to all this stuff), but as I'm looking for a good way of generating XHTML strict interfaces for a Java web application I thought I ought to chase it up.

Name attributes on form elements only scraped into HTML 4.01 "for backwards compatibility" reasons (see http://www.w3.org/TR/html4/interact/forms.html#h-17.3), and are invalid with an XHTML strict DTD.

Regards,

Benjamin Hawkes-Lewis

> HTML TLD differences between myFaces and the RI
> -----------------------------------------------
>
>          Key: MYFACES-654
>          URL: http://issues.apache.org/jira/browse/MYFACES-654
>      Project: MyFaces Core
>         Type: Bug

>   Components: General
>     Versions: 1.1.0
>     Reporter: Manfred Klug
>     Assignee: Grant Smith
>  Attachments: AbstractTagLibTestCase.java, ReferenceImplementationCompareTestCase.java
>
> There are still differences in the possible attributes between myFaces and the RI.
> myFaces attributes not in the RI:
>   commandButton
>     size
>   commandLink
>     onclick
>   dataTable
>     align
>     datafld
>     dataformatas
>     datasrc
>   form
>     name
>   inputSecret
>     align
>   inputText
>     align
>   inputTextarea
>     datafld
>     dataformatas
>     datasrc
>   message
>     dir
>     lang
>     onclick
>     ondblclick
>     onkeydown
>     onkeypress
>     onkeyup
>     onmousedown
>     onmousemove
>     onmouseout
>     onmouseover
>     onmouseup
>   messages
>     dir
>     lang
>     onclick
>     ondblclick
>     onkeydown
>     onkeypress
>     onkeyup
>     onmousedown
>     onmousemove
>     onmouseout
>     onmouseover
>     onmouseup
>   outputFormat
>     dir
>     lang
>     onclick
>     ondblclick
>     onkeydown
>     onkeypress
>     onkeyup
>     onmousedown
>     onmousemove
>     onmouseout
>     onmouseover
>     onmouseup
>   outputText
>     dir
>     lang
>     onclick
>     ondblclick
>     onkeydown
>     onkeypress
>     onkeyup
>     onmousedown
>     onmousemove
>     onmouseout
>     onmouseover
>     onmouseup
>   panelGrid
>     align
>     datafld
>     dataformatas
>     datasrc
>   panelGroup
>     dir
>     lang
>     onclick
>     ondblclick
>     onkeydown
>     onkeypress
>     onkeyup
>     onmousedown
>     onmousemove
>     onmouseout
>     onmouseover
>     onmouseup
>     title
>   selectBooleanCheckbox
>     alt
>     datafld
>     dataformatas
>     datasrc
>   selectManyCheckbox
>     alt
>     datafld
>     dataformatas
>     datasrc
>   selectManyListbox
>     datafld
>     dataformatas
>     datasrc
>   selectManyMenu
>     datafld
>     dataformatas
>     datasrc
>   selectOneListbox
>     datafld
>     dataformatas
>     datasrc
>   selectOneMenu
>     datafld
>     dataformatas
>     datasrc
>   selectOneRadio
>     alt
>     datafld
>     dataformatas
>     datasrc
> --------------------------------------------------------------
> Attributes missing in myFaces:
>   commandButton
>     readonly
>   outputLabel
>     tabindex
>   selectManyCheckbox
>     border
>   selectManyListbox
>     accesskey
>     onselect
>   selectManyMenu
>     accesskey
>     onselect
>   selectOneListbox
>     accesskey
>     onselect
>   selectOneMenu
>     accesskey
>     onselect
> --------------------------------------------------------------
> Case difference:
>   form
>     acceptCharset <-> acceptcharset

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira