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

h:messages - error while rendering id and styleClass attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5, 1.2.3
    • 1.1.6
    • General
    • None
    • 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

        1. HtmlMessagesRenderer.java
          2 kB
          Antoni Jakubiak

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: