2 Replies Latest reply on Dec 28, 2007 2:32 AM by statelessbean

    Seam ajax & conversation

    statelessbean

      Hi,
      I got bean in conversation mode and when i fire method via seam ajax from this bean, always my destroy method is fired, why?

      Is see in jboss console info : "Destroy...."

      @Stateful
      @Scope(ScopeType.CONVERSATION)
      @Name("ordersAction")
      
       @Destroy @Remove
       public void destroy() { System.out.println("Destroy - ordersAction"); }
      


      Why this happen?

      My ajax method in js
      Seam.Component.getInstance("ordersAction").checkCode(newCode, checkCodeCallback);
      


      method isn't annotaed @Destroy and @End