2 Replies Latest reply on Sep 27, 2009 11:17 PM by Francisco Jose Peredo Noguez

    Ending all nested conversations of a parent conversation

    first last Newbie

      I am using a breadcrumbs trail, as shown in Dan Allen's Seam in Action :


      <h:form id="switcher">
         Workspace:
         <h:selectOneMenu value="#{switcher.conversationIdOrOutcome}">
            <f:selectItems value="#{switcher.selectItems}"/>
         </h:selectOneMenu>
         <h:commandButton action="#{switcher.select}" value="Switch"/>
      </h:form>



      When a trail exists, e.g. Shops - MyShop - EditShop, and the user clicks on
      a node, e.g. MyShop, I would like (in addition to switching to the desired conversation) to destroy all its nested conversations (in my example: EditShop).


      I've searched the APIs and can't seems to find ANY way to even list or access the current conversation's nested conversations.


      Does anyone know how can this be done?
      Thanks.