Hi,
I have a backing bean that adds a faces message then returns an outcome like:
FacesContext.getCurrentInstance().addMessage(null, infoMessage);
return "back";
I've found that the message doesn't get displayed, even though the target jspx
does include the af:messages tag. It seems like the new page operates in a completely different context and the messages are lost. If I return null from the backing bean instead so that no navigation takes place, the message displays correctly.
Is there a way to add a message
and navigate to another page? (i.e. so the message is displayed on the target page).
I'm using ADF Faces 11.1.1.2.0.
Cheers!