3 Replies Latest reply on Jan 29, 2010 7:57 AM by lucius yu

    Remoting and Conversation Scope

    Samuel Doyle Apprentice

      Hello,


      I have been trying to get a remoting call work within the conversation scope. I have tried explicitly setting the conversation id for remoting as described in the documentation.



      var cid = Seam.Remoting.getContext().getConversationId();
      Seam.Remoting.getContext().setConversationId( cid );
      Seam.Component.getInstance( "handler" ).trackChange( targetElement.id, newValue, oldValue, remoteCallback );
      



      I have also tried:



      Seam.Remoting.getContext().setConversationId( "#{conversation.id}" );




      I continuously see a new instance of my conversaton scoped component being created.


      Thanks for your time.