openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r986009 - in /openwebbeans/trunk: webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java
Date Mon, 16 Aug 2010 16:17:12 GMT
Author: gpetracek
Date: Mon Aug 16 16:17:12 2010
New Revision: 986009

URL: http://svn.apache.org/viewvc?rev=986009&view=rev
Log:
OWB-430 direct usage of the faces-context

Modified:
    openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java
    openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java

Modified: openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java?rev=986009&r1=986008&r2=986009&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java
(original)
+++ openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java
Mon Aug 16 16:17:12 2010
@@ -50,7 +50,7 @@ public class WebBeansPhaseListener imple
     public void afterPhase(PhaseEvent phaseEvent)
     {
         if (phaseEvent.getPhaseId().equals(PhaseId.RENDER_RESPONSE) ||
-                JSFUtil.getCurrentFacesContext().getResponseComplete())
+                phaseEvent.getFacesContext().getResponseComplete())
         {
             if(!JSFUtil.isOwbApplication())
             {

Modified: openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java?rev=986009&r1=986008&r2=986009&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java
(original)
+++ openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java
Mon Aug 16 16:17:12 2010
@@ -55,7 +55,7 @@ public class WebBeansPhaseListener imple
         }
         
         if (phaseEvent.getPhaseId().equals(PhaseId.RENDER_RESPONSE) ||
-                JSFUtil.getCurrentFacesContext().getResponseComplete())
+                phaseEvent.getFacesContext().getResponseComplete())
         {
             ConversationManager conversationManager = ConversationManager.getInstance();
             Conversation conversation = conversationManager.getConversationBeanReference();



Mime
View raw message