[jboss-cvs] jboss-seam/src/main/org/jboss/seam/contexts ...
Gavin King
gavin.king at jboss.com
Sat Feb 17 12:16:29 EST 2007
User: gavin
Date: 07/02/17 12:16:29
Modified: src/main/org/jboss/seam/contexts Lifecycle.java
Log:
fix exception that occurs displaying debug page when an exception happens 'cos of garbage page context
Revision Changes Path
1.83 +3 -1 jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Lifecycle.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -b -r1.82 -r1.83
--- Lifecycle.java 7 Feb 2007 21:17:24 -0000 1.82
+++ Lifecycle.java 17 Feb 2007 17:16:29 -0000 1.83
@@ -28,7 +28,7 @@
/**
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
- * @version $Revision: 1.82 $
+ * @version $Revision: 1.83 $
*/
public class Lifecycle
{
@@ -118,6 +118,8 @@
Contexts.eventContext.set( new WebRequestContext( ContextAdaptor.getRequest(externalContext) ) );
Contexts.sessionContext.set( new WebSessionContext( ContextAdaptor.getSession(externalContext) ) );
Contexts.conversationContext.set( new ServerConversationContext( ContextAdaptor.getSession(externalContext) ) );
+ Contexts.pageContext.set(null);
+ Contexts.businessProcessContext.set(null); //TODO: is this really correct?
}
public static void endInitialization()
More information about the jboss-cvs-commits
mailing list