MyFaces Core
  1. MyFaces Core
  2. MYFACES-1762

h:messages - error while rendering id and styleClass attributes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development