Hi,

I wonder why myfaces renders the h:messages different then the jsf ri.
Why doesn't myfaces set the class attribute of the li tag to class="error".
If so it would be possible to use the css list-style-image for different severities.

<h:messages id="messages" errorClass="error" infoClass="info" fatalClass="fatal" warnClass="warn" globalOnly="true" showSummary="true" showDetail="false"/>

<div class="messages">
   <ul id="messages">
      <li>
         <span class="error"> some error text </span>
      </li>
  </ul>
</div>



Regards
Ingo

Reply via email to