[jboss-cvs] jboss-seam/src/main/org/jboss/seam/jsf ...
Peter Muir
peter at bleepbleep.org.uk
Thu Nov 22 13:37:29 EST 2007
User: pmuir
Date: 07/11/22 13:37:29
Modified: src/main/org/jboss/seam/jsf SeamPhaseListener.java
Log:
JBSEAM-2139
Revision Changes Path
1.117 +7 -0 jboss-seam/src/main/org/jboss/seam/jsf/SeamPhaseListener.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamPhaseListener.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/SeamPhaseListener.java,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -b -r1.116 -r1.117
--- SeamPhaseListener.java 13 Oct 2007 05:03:09 -0000 1.116
+++ SeamPhaseListener.java 22 Nov 2007 18:37:29 -0000 1.117
@@ -190,6 +190,13 @@
try
{
Exceptions.instance().handle(e);
+ // A redirect occurred inside the error handler, and we are in after
+ // phase, so we need to clean up now as there are no more after
+ // phases to be run
+ if ( event.getFacesContext().getResponseComplete() )
+ {
+ afterResponseComplete(event.getFacesContext());
+ }
}
catch (Exception ehe)
{
More information about the jboss-cvs-commits
mailing list