Do I need to change the color of the text to <p:growl>depending on the severity of any idea?
I add a soft growl to this method:
public void addMessageGrowl(Severity typeMessage, String detailMessage) {
FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(typeMessage, "", detailMessage));
}
After calling this method:
addMessageGrowl(FacesMessage.SEVERITY_FATAL, "Ocurrió un error al ejecutar la operacion");
However, I want to adjust the text color to a growl.
source
share