myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r922207 - /myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/jsf/AccessScopePhaseListener.java
Date Fri, 12 Mar 2010 10:54:38 GMT
Author: bommel
Date: Fri Mar 12 10:54:37 2010
New Revision: 922207

URL: http://svn.apache.org/viewvc?rev=922207&view=rev
Log:
(ORCHESTRA-49) AccessScopePhaseListener should check for responseComplete in doAfterRestoreView

Modified:
    myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/jsf/AccessScopePhaseListener.java

Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/jsf/AccessScopePhaseListener.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/jsf/AccessScopePhaseListener.java?rev=922207&r1=922206&r2=922207&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/jsf/AccessScopePhaseListener.java
(original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/jsf/AccessScopePhaseListener.java
Fri Mar 12 10:54:37 2010
@@ -141,6 +141,10 @@ public class AccessScopePhaseListener im
     private void doAfterRestoreView(PhaseEvent event)
     {
         javax.faces.context.FacesContext fc = event.getFacesContext();
+        if (fc.getResponseComplete())
+        {
+            return;
+        }
         UIViewRoot oldViewRoot = fc.getViewRoot();
         if ((oldViewRoot != null) && fc.getRenderResponse())
         {



Mime
View raw message