Author: cpopetz
Date: 2009-04-14 13:39:18 -0400 (Tue, 14 Apr 2009)
New Revision: 10407
Modified:
trunk/src/wicket/org/jboss/seam/wicket/SeamWebApplication.java
Log:
Propagate conversations to new page targets created while a conversation is active.
(Exposed
by JBSEAM-4111)
Modified: trunk/src/wicket/org/jboss/seam/wicket/SeamWebApplication.java
===================================================================
--- trunk/src/wicket/org/jboss/seam/wicket/SeamWebApplication.java 2009-04-14 17:38:24 UTC
(rev 10406)
+++ trunk/src/wicket/org/jboss/seam/wicket/SeamWebApplication.java 2009-04-14 17:39:18 UTC
(rev 10407)
@@ -194,6 +194,14 @@
manager.restoreConversation();
}
}
+ else
+ {
+ Manager manager = Manager.instance();
+ if (manager.isLongRunningConversation())
+ {
+ page.setMetaData(CID, Manager.instance().getCurrentConversationId());
+ }
+ }
}
}