[jboss-cvs] jboss-seam/src/main/org/jboss/seam/interceptors ...
Gavin King
gavin.king at jboss.com
Mon Jun 18 13:27:23 EDT 2007
User: gavin
Date: 07/06/18 13:27:23
Modified: src/main/org/jboss/seam/interceptors
ConversationInterceptor.java
Log:
JBSEAM-1112
fix a problem with interception of pageflow actions
Revision Changes Path
1.64 +3 -2 jboss-seam/src/main/org/jboss/seam/interceptors/ConversationInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConversationInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/interceptors/ConversationInterceptor.java,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- ConversationInterceptor.java 18 Jun 2007 05:12:30 -0000 1.63
+++ ConversationInterceptor.java 18 Jun 2007 17:27:23 -0000 1.64
@@ -1,4 +1,4 @@
-//$Id: ConversationInterceptor.java,v 1.63 2007/06/18 05:12:30 gavin Exp $
+//$Id: ConversationInterceptor.java,v 1.64 2007/06/18 17:27:23 gavin Exp $
package org.jboss.seam.interceptors;
import java.lang.reflect.Method;
@@ -83,6 +83,7 @@
&& clazz.getAnnotation(ApplicationException.class).end();
}
+ @SuppressWarnings("deprecation")
public boolean redirectToExistingConversation(Method method)
{
if ( !Manager.instance().isLongRunningConversation() )
@@ -111,7 +112,7 @@
}
else
{
- return ce.switchConversation();
+ return ce.redirect();
}
}
}
More information about the jboss-cvs-commits
mailing list