If you're seeing a difference between how JSF 1.1 RI h:messages and
MyFaces h:messages work, then it's a bug.
Please open a JIRA issue and attach an example. It'd be helpful if
you also posted the generated html for both the RI and MyFaces.
On 9/9/06, Ingo Düppe <[EMAIL PROTECTED]> wrote:
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