See the update page on:

https://cwiki.apache.org/confluence/display/MYFACES/Displaying+Errors+-+Infos+-+Warnings+in+JSF+pages