Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3926

Disabled h:outputLink renders invalid attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.2.4
    • 2.2.10
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            tzwoenn Sven Linstaedt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: