0
Hello, I am implementing a register using the primefaces to present the critical messages performed in the bean. I’m using the Facescontext as below:
FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, "", mensagem));
The message is inserted and presented in the application server log, but with a Warning:
WARNING: FacesMessage(s) have been enqueued, but may not have been displayed
And log below are listed the messages of criticism, for example:
sourceId=null[severity=(ERROR 2), summary=(), detail=(Nome não preenchido!)]
Would anyone know what that could be? Thank you
How are you calling the message in xhtml?
– Edjane