7 Replies Latest reply on Jul 28, 2009 12:37 AM by tony.herstell1

    Conversation Question

    tony.herstell1

      I enter a conversation (say bulk mailer) through its enter method (from a menu hit).



      <rich:menuItem submitMode="ajax" value="#{messages.menu_button_mailing_list_message}" action="#{mailingListController.enter}">
           <s:conversationPropagation type="none"/>
      </rich:menuItem>




           @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
           @Begin
           public String enter() {
                subjectText = "[Selwyn Equestrian Centre]";
                messageText = "This is some text.";
                testOnly = false;
                return "mailingList";
           }




      I then stomp on another conversation starter from the manu (say manageUsers) as I have someone on the phone.



      <rich:menuItem submitMode="ajax" value="#{messages.menu_button_user_list_message}"
                                                   action="#{userListController.enter}">
                                                   <s:conversationPropagation type="none"/>
                                              </rich:menuItem>
      





      What I expect to happen is that I go to the manage user screen and my bulk mailer conversation is suspended (but selectable on the conversation picker).


      What I get is to be dumped back onto my main page and the message:




      The conversation ended, timed out or was processing another request


      My mailing list is shown in the conversation picker.


      Qusetion
      Why am I being thrown to the main page?


      I can play with nested conversation and I can make headway but ending a parent conversation kills all child ones (not good).


      <s:conversationPropagation type="none"/>



      Humm.. not actually sure what 'none' actually means.. but its much worse if I dont use it.