2 Replies Latest reply on Sep 21, 2007 3:52 AM by nagypalg

    Creating a nested conversation does not create a new convers

      Hi,

      I was a little surprised that creating a nested conversation (@Begin(nested=true)) does not necessary mean that you create a new instance of a conversation scoped bean. If the conversation scoped bean Foo already exists in one of the parent conversations of the current nested conversation, this bean is reused. I.e., changing the state of the bean in the nested conversation will have effects also in the parent conversation(s), after the nested conversation has ended. I tested it with Seam 2 CR1.

      Is it the intended, long-term behavior or a bug? If it is intended, are there any best practices to have a different instance (or at least different state) of the same Foo bean in nested conversations?

      --
      Gabor