myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bara...@apache.org
Subject svn commit: r374900 - /myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java
Date Sat, 04 Feb 2006 18:07:34 GMT
Author: baranda
Date: Sat Feb  4 10:07:29 2006
New Revision: 374900

URL: http://svn.apache.org/viewcvs?rev=374900&view=rev
Log:
Added facesContext.release() as theoretically should be like this

Modified:
    myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java

Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java?rev=374900&r1=374899&r2=374900&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java
(original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java
Sat Feb  4 10:07:29 2006
@@ -153,6 +153,7 @@
         if( ! addResource.hasHeaderBeginInfos(extendedRequest) ){
             // writes the response if no header info is needed
             addResource.writeResponse(extendedRequest, servletResponse);
+            facesContext.release();
             return;
         }
 
@@ -162,6 +163,8 @@
 
         // writes the response
         addResource.writeResponse(extendedRequest, servletResponse);
+
+        facesContext.release();
     }
 
     /**



Mime
View raw message