MultiPageMessagesSupport.java | Class | Enables messages to be rendered on different pages from which they were set.
To produce this behaviour, this class acts as a PhaseListener .
This is performed by moving the FacesMessage objects:
After each phase where messages may be added, this moves the messages
from the page-scoped FacesContext to the session-scoped session map.
Before messages are rendered, this moves the messages from the
session-scoped session map back to the page-scoped FacesContext.
Only messages that are not associated with a particular component are ever
moved. |