1 Reply Latest reply on Aug 10, 2007 3:16 PM by Pete Muir

    Begin/End Conversation

    devx edg Newbie

      Is it possible to begin or end a long-running conversation manually?
      MenuManager.java

       if (tableModel != null) {
       tableModel.end();
       }
       tableModel = (TableModel) Component.getInstance(beanName);
       tableModel.begin();
      

      TableModel.java
      @Name("tableModel")
      @Conversational
      @Scope(ScopeType.CONVERSATION)
      public class TableModelBean {
       @Begin
       public void begin() {
       }
       @End
       @Destroy
       public void end() {
       }
      }