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

    Seam ajax & conversation

    Stateless Bean Novice

      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...."

       @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