StaticMessage

StaticMessage component can be used to display a message without the use of a FacesMessages.

INFO!Hey, i'm a info!
WARN!Hey, i'm a warn!
ERROR!Hey, i'm a error
FATAL!Hey, i'm a fatal!
<style type="text/css">
    body .ui-staticmessage.ui-message {
        width: 100%;
    }
</style>


<div class="ui-g">
    <div class="ui-g-12 ui-md-3">
        <p:staticMessage severity="info" summary="INFO!" detail="Hey, i'm a info!" />
    </div>
    <div class="ui-g-12 ui-md-3">
        <p:staticMessage severity="warn" summary="WARN!" detail="Hey, i'm a warn!" />
    </div>
    <div class="ui-g-12 ui-md-3">
        <p:staticMessage severity="error" summary="ERROR!" detail="Hey, i'm a error" />
    </div>
    <div class="ui-g-12 ui-md-3">
        <p:staticMessage severity="fatal" summary="FATAL!" detail="Hey, i'm a fatal!" />
    </div>
</div>