The problem happens since the migration from myfaces-2.2.7 to mojarra 2.3.9. The generated output is different.
myfaces-2.2.7
Code: Select all
<div id="errorMessagePane_container" class="ui-growl ui-widget" aria-live="polite" style="z-index: 1008;">
<div class="ui-growl-item-container ui-state-highlight ui-corner-all ui-helper-hidden ui-shadow ui-growl-error" style="display: block;">
<div role="alert" class="ui-growl-item">
<div class="ui-growl-icon-close ui-icon ui-icon-closethick" style="display: none;"></div>
<span class="ui-growl-image ui-growl-image-error"></span>//SPAN OPEN AND CLOSE
<span class="ui-growl-severity ui-helper-hidden-accessible">Error</span>
<div class="ui-growl-message">
<span class="ui-growl-title">Error title</span>
<p>Error text</p>
</div>
<div style="clear: both;"></div>
</div>
</div>
</div>
Code: Select all
<div id="messages:errorMessagePane_container" class="ui-growl ui-widget" aria-live="polite" style="z-index: 1006;">
<div class="ui-growl-item-container ui-state-highlight ui-corner-all ui-helper-hidden ui-shadow ui-growl-error" style="display: block;">
<div role="alert" class="ui-growl-item">
<div class="ui-growl-icon-close ui-icon ui-icon-closethick" style="display: none;"></div>
<span class="ui-growl-image ui-growl-image-error">//SPAN OPEN
<span class="ui-growl-severity ui-helper-hidden-accessible">Error</span>
<div class="ui-growl-message">
<span class="ui-growl-title">Error title</span>
<p>Error text</p>
</div>
<div style="clear: both;"></div>
</span> //SPAN CLOSE
</div>
</div>
</div>
I can't understand the reason. Where should I look in the source code? I can't found the class who renders this html...