[jboss-user] [JBoss Seam] - Re: how to send events between natural conversations

pete.muir@jboss.org do-not-reply at jboss.com
Thu Dec 20 08:12:47 EST 2007

If I understand you correctly, you have conversation A and conversation B. In conversation A you have some Seam component foo, and in conversation B you have some instantiated some component bar.

bar has an observer method that listens for fooEvent. You call a method on foo, which raises fooEvent. The observer method on bar will be called, but it won't be *the same instance* of bar that you have conversation B, but rather a new instance.

You can't observe an event raised in one conversation in another. If the observer was in the session scope or application scope this would work.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114626#4114626

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114626

More information about the jboss-user mailing list