1 Reply Latest reply on Jun 21, 2009 1:14 PM by Nikos Paraskevopoulos

    Storing Items in a Conversation

    Jubril Adisa Novice

      Normally to obtain a conversation in my bean  I inject it


      @In Conversation conversation;

      Now my question is , is there a way i can store something in this conversation like we do with Session

        • 1. Re: Storing Items in a Conversation
          Nikos Paraskevopoulos Novice

          Is there any particular reason why to inject the Conversation itself and not use it as recommended:

          class Foo {
            YourBean yourBean;
          // OR
          class Bar {
            YourBean yourBean;

          There are more details in Chapter 4 of the docs and in the examples.

          If however you insist on using the conversation programmatically, check out the class org.jboss.seam.contexts.Contexts and the interface org.jboss.seam.contexts.Context.