myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingo Düppe <mailing-li...@dueppe.com>
Subject h:messages and style classes
Date Sat, 09 Sep 2006 07:55:54 GMT
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

Mime
View raw message