You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Sven Linstaedt (JIRA)" <de...@myfaces.apache.org> on 2014/09/19 11:00:40 UTC

[jira] [Created] (MYFACES-3926) Disabled h:outputLink renders target attribute

Sven Linstaedt created MYFACES-3926:
---------------------------------------

             Summary: Disabled h:outputLink renders target attribute
                 Key: MYFACES-3926
                 URL: https://issues.apache.org/jira/browse/MYFACES-3926
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.2.4
            Reporter: Sven Linstaedt
            Priority: Trivial


A disabled <h:outputLink/> component renders it's content in a <span/> tag. Unfortunately the renderer does not check, if attributes that does apply to <a/> will also apply to to the <span/> tag. So in addition to common attributes like styleClass other ones are rendered, that are not valid in the context of a <span/> like:
* target
* tabindex
* shape
* rel
* rev
* hreflang
* coords
* charset
* ...maybe others, but I am no export for the html spec



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)