0 Replies Latest reply on Apr 25, 2008 4:14 PM by Branimir Minkov

    Nested Conversation's parent conversationId

    Branimir Minkov Newbie

      Hello, I need to do the following:


      @Begin(nested = true, id="testName")
      @End
      public void doMore(ActionEvent event){
         doAlone(null);
      }
      
      @Begin(nested = true)
      @End
      public void doAlone(ActionEvent event){
         ...
           if("testName".equals(Conversation.instance().getParentId())){
      //some specific logic
        }
      }



      Everything works fine but the only thing is that I need a test  mechanism if doAlone is called in the context of doMore. The supplied example is what I found suitable but not working, maybe because it is not supposed to be invoked that way. Currently I am looking for a Seam way, not a workaround. Thanks.