Re: PrettyFaces eating FacesMessage!?!?!!?

Splash Forums PrettyFaces Users PrettyFaces eating FacesMessage!?!?!!? Re: PrettyFaces eating FacesMessage!?!?!!?

#22842

Hi,

I’m just guessing here, but perhaps TransactionPhase.AFTER_SUCCESS is too late for the PrettyFaces phase listener to capture the messages. Could you try to change this observer method to:

public void onIncluir(@Observes @Insert final Usuario usuario) {
msg.info(new BundleKey("messages", "registro_incluido_sucesso"));
}

Another possible problem could <p:growl>. Could you perhaps try to use <h:messages> to see if this helps?