24.5.2. Remote calls within the current conversation scope

Under some circumstances, you may need to make a remote call within the scope of the current view's conversation. To do so, you must explicitly set the conversation ID to that of the view before making the remote call. The following JavaScript will set the conversation ID being used for remote calls to the current view's conversation ID:
Seam.Remoting.getContext().setConversationId( #{conversation.id} );