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

h:messages - error while rendering id and styleClass attributes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.5, 1.2.3
    • Fix Version/s: 1.1.6
    • Component/s: General
    • Labels:
      None
    • Environment:
      windows, jdk16, jetty, maven

      Description

      There is an error while rendering "id" and "styleClass" attributes on "h:messages" component.

      For example:

      <h:messages id="messagesId" styleClass="messagesClass" ...

      is rendered as:

      <ul id="messagesId"><li><span id="messagesId" style="messagesClass" >....</span></li><li><span id="messagesId" style="messagesClass" >

      As you can see:

      • in genereted html we have many tags with the same id attribute,
      • styleClass attribute is rendered as style not as class attribute.

      Regards
      Antoni Jakubiak

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              antoni.jakubiak Antoni Jakubiak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: