[jboss-cvs] jboss-seam/src/main/org/jboss/seam/servlet ...
Gavin King
gavin.king at jboss.com
Wed Jul 12 15:59:57 EDT 2006
User: gavin
Date: 06/07/12 15:59:57
Modified: src/main/org/jboss/seam/servlet SeamRedirectFilter.java
Log:
allow more control over conversation propagation across redirects
Revision Changes Path
1.6 +3 -8 jboss-seam/src/main/org/jboss/seam/servlet/SeamRedirectFilter.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamRedirectFilter.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/servlet/SeamRedirectFilter.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- SeamRedirectFilter.java 30 Jun 2006 18:53:56 -0000 1.5
+++ SeamRedirectFilter.java 12 Jul 2006 19:59:57 -0000 1.6
@@ -39,12 +39,7 @@
{
if ( Contexts.isEventContextActive() )
{
- Manager manager = Manager.instance();
- if ( !url.contains("?" + manager.getConversationIdParameter() +"=") )
- {
- url = manager.encodeConversationId(url);
- manager.beforeRedirect();
- }
+ url = Manager.instance().appendConversationIdFromRedirectFilter(url);
}
super.sendRedirect(url);
}
More information about the jboss-cvs-commits
mailing list