[ 
http://issues.apache.org/jira/browse/MYFACES-1018?page=comments#action_12362340 
] 

Dustin Bruzenak commented on MYFACES-1018:
------------------------------------------

Sorry about the priority. This should be modded down to a minor priority.

> PhaseListener That Persists Messages After Redirects
> ----------------------------------------------------
>
>          Key: MYFACES-1018
>          URL: http://issues.apache.org/jira/browse/MYFACES-1018
>      Project: MyFaces
>         Type: New Feature
>   Components: General
>     Reporter: Dustin Bruzenak
>  Attachments: JsfMessagePhaseListener.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to