Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Currently when JSFMessages are added to the FacesContext those messages are lost when a redirect is issued. This is a problem for a handler that does some validation that adds messages and then returns a navigation case that has a redirect.
A PhaseListener can be written that will persist the current JSFMessages in the user's session and then reloads them into the FacesContext on the next request. Since the application will almost never want to add messages to the context and have them immediately be lost, the presence of this listener would help ensure that the message manager matches the expected result.
Attachments
Attachments
Issue Links
- duplicates
-
MYFACES-403 Use a PhaseListener to reinject FacesMessages lost during a redirection to the JSF context
- Closed
- is part of
-
TOMAHAWK-503 Capture and restore saveState Beans and messages when using redirect navigation rule
- Closed