FacesMessagequeued to be displayed. The
FacesMessage.Severitycan be used to help us determine if messages should be displayed. Please see the table below.
The examples below demonstrate a couple of techniques to determine if a component (in this case a <ui:fragment/> containing a <ui:include/>) should be displayed based on whether FacesMessage.Severity are present and if they are not equal to an informational message.
This is equivalent to the listing above.
This displays if the messages are WARN or less.