There is a JSF 1.2 page with <rich:messages> and <a4j:poll> components on it. When a message is placed in FacesContext it is only shown briefly, until the poll sends the next request. Is it possible to preserve messages across AJAX requests?
There is a JSF 1.2 page with <rich:messages> and <a4j:poll> components on it. When
Share
Add the following to your facelets:
Create a backing bean to persist the messages through ajax calls:
And finally add this line to the bottom of any bean method that adds a FacesMessage.