You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "dennis hoersch (JIRA)" <de...@myfaces.apache.org> on 2012/06/19 16:29:43 UTC

[jira] [Created] (TOMAHAWK-1629) Add 'lang' and 'xmlns' attributes to html root tag

dennis hoersch created TOMAHAWK-1629:
----------------------------------------

             Summary: Add 'lang' and 'xmlns' attributes to html root tag
                 Key: TOMAHAWK-1629
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1629
             Project: MyFaces Tomahawk
          Issue Type: Improvement
          Components: Html Tag
    Affects Versions: 1.1.11
         Environment: MyFaces 2.1.4, Tomahawk20 1.1.11
            Reporter: dennis hoersch


The document renderer that is used to render the 'html'-root element accepts no additional attributes. 

We have an use case where we need the 'xmlns' attribute to be rendered / passthrough (for xhtml compatibility reasons) and the 'lang' attribute for accessibility.

I attached a patch that introduces this two attributes to the document.

Maybe it be interesting for you.

Greetings
dennis

(http://www.w3.org/TR/xhtml1/)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

unsubscribe

Posted by Herbrand Hofker <he...@yahoo.com>.
unsubscribe


________________________________
 From: dennis hoersch (JIRA) <de...@myfaces.apache.org>
To: dev@myfaces.apache.org 
Sent: Tuesday, June 19, 2012 4:35 PM
Subject: [jira] [Updated] (TOMAHAWK-1629) Add 'lang' and 'xmlns' attributes to html root tag
 

     [ https://issues.apache.org/jira/browse/TOMAHAWK-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dennis hoersch updated TOMAHAWK-1629:
-------------------------------------

    Status: Open  (was: Patch Available)
    
> Add 'lang' and 'xmlns' attributes to html root tag
> --------------------------------------------------
>
>                 Key: TOMAHAWK-1629
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1629
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Html Tag
>    Affects Versions: 1.1.11
>         Environment: MyFaces 2.1.4, Tomahawk20 1.1.11
>            Reporter: dennis hoersch
>         Attachments: DocumentRenderer.java, TOMAHAWK-1629.patch
>
>
> The document renderer that is used to render the 'html'-root element accepts no additional attributes. 
> We have an use case where we need the 'xmlns' attribute to be rendered / passthrough (for xhtml compatibility reasons) and the 'lang' attribute for accessibility.
> I attached a patch that introduces this two attributes to the document.
> Maybe it be interesting for you.
> Greetings
> dennis
> (http://www.w3.org/TR/xhtml1/)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TOMAHAWK-1629) Add 'lang' and 'xmlns' attributes to html root tag

Posted by "dennis hoersch (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dennis hoersch updated TOMAHAWK-1629:
-------------------------------------

    Status: Open  (was: Patch Available)
    
> Add 'lang' and 'xmlns' attributes to html root tag
> --------------------------------------------------
>
>                 Key: TOMAHAWK-1629
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1629
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Html Tag
>    Affects Versions: 1.1.11
>         Environment: MyFaces 2.1.4, Tomahawk20 1.1.11
>            Reporter: dennis hoersch
>         Attachments: DocumentRenderer.java, TOMAHAWK-1629.patch
>
>
> The document renderer that is used to render the 'html'-root element accepts no additional attributes. 
> We have an use case where we need the 'xmlns' attribute to be rendered / passthrough (for xhtml compatibility reasons) and the 'lang' attribute for accessibility.
> I attached a patch that introduces this two attributes to the document.
> Maybe it be interesting for you.
> Greetings
> dennis
> (http://www.w3.org/TR/xhtml1/)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TOMAHAWK-1629) Add 'lang' and 'xmlns' attributes to html root tag

Posted by "dennis hoersch (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dennis hoersch updated TOMAHAWK-1629:
-------------------------------------

    Status: Patch Available  (was: Open)
    
> Add 'lang' and 'xmlns' attributes to html root tag
> --------------------------------------------------
>
>                 Key: TOMAHAWK-1629
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1629
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Html Tag
>    Affects Versions: 1.1.11
>         Environment: MyFaces 2.1.4, Tomahawk20 1.1.11
>            Reporter: dennis hoersch
>
> The document renderer that is used to render the 'html'-root element accepts no additional attributes. 
> We have an use case where we need the 'xmlns' attribute to be rendered / passthrough (for xhtml compatibility reasons) and the 'lang' attribute for accessibility.
> I attached a patch that introduces this two attributes to the document.
> Maybe it be interesting for you.
> Greetings
> dennis
> (http://www.w3.org/TR/xhtml1/)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TOMAHAWK-1629) Add 'lang' and 'xmlns' attributes to html root tag

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved TOMAHAWK-1629.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.14-SNAPSHOT
         Assignee: Leonardo Uribe
    
> Add 'lang' and 'xmlns' attributes to html root tag
> --------------------------------------------------
>
>                 Key: TOMAHAWK-1629
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1629
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Html Tag
>    Affects Versions: 1.1.11
>         Environment: MyFaces 2.1.4, Tomahawk20 1.1.11
>            Reporter: dennis hoersch
>            Assignee: Leonardo Uribe
>             Fix For: 1.1.14-SNAPSHOT
>
>         Attachments: DocumentRenderer.java, TOMAHAWK-1629.patch
>
>
> The document renderer that is used to render the 'html'-root element accepts no additional attributes. 
> We have an use case where we need the 'xmlns' attribute to be rendered / passthrough (for xhtml compatibility reasons) and the 'lang' attribute for accessibility.
> I attached a patch that introduces this two attributes to the document.
> Maybe it be interesting for you.
> Greetings
> dennis
> (http://www.w3.org/TR/xhtml1/)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TOMAHAWK-1629) Add 'lang' and 'xmlns' attributes to html root tag

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400365#comment-13400365 ] 

Leonardo Uribe commented on TOMAHAWK-1629:
------------------------------------------

Something like this was included in JSF 2.1 spec. I remember an issue related to this one: MYFACES-3276 xmlns property is set on attribute map as "". We can skip the problem just do not adding the property into the component, but rendering the attribute, otherwise it will work only with 2.1 jars. 


                
> Add 'lang' and 'xmlns' attributes to html root tag
> --------------------------------------------------
>
>                 Key: TOMAHAWK-1629
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1629
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Html Tag
>    Affects Versions: 1.1.11
>         Environment: MyFaces 2.1.4, Tomahawk20 1.1.11
>            Reporter: dennis hoersch
>         Attachments: DocumentRenderer.java, TOMAHAWK-1629.patch
>
>
> The document renderer that is used to render the 'html'-root element accepts no additional attributes. 
> We have an use case where we need the 'xmlns' attribute to be rendered / passthrough (for xhtml compatibility reasons) and the 'lang' attribute for accessibility.
> I attached a patch that introduces this two attributes to the document.
> Maybe it be interesting for you.
> Greetings
> dennis
> (http://www.w3.org/TR/xhtml1/)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira