This content has been marked as final.
Show 1 reply
-
1. Re: rich: notifyMessages
healeyb Aug 1, 2012 12:13 PM (in response to afifgat)Just do something like this in your action routine:
FacesMessage message = ...;
message.setSeverity(FacesMessage.SEVERITY_INFO);
FacesContext.getCurrentInstance().addMessage(null, message);
I've got all sorts of libraries etc... to build the FacesMessage so you'll need to work this out yourself, the null
in addMessage above is the client id. As long as you're using a4j ajax components the message appears.
Regards,
Brendan.