0 Replies Latest reply on Dec 29, 2009 6:06 PM by quintenjiang.kinsonjob.yahoo.com

    Cannot update outject list under jetty

    quintenjiang.kinsonjob.yahoo.com
      I have outject list defined in the search bean:

      @Name("operatorSearch")
      public class OperatorSearchAction implements Serializable {

      @Out(required=false)
      private List<OperatorModel> oprList;

      @Observer("queryOprs")
      public void queryOperators() {
      oprList = ...
      }

      }

      And define save methods in the home bean:

      @Name("operatorAction")
      public class OperatorHomeAction implements Serializable {
      @In
      private Events events;

      @Transactional
      public void saveMethod() {
      ...
      events.raiseTransactionSuccessEvent("queryOprs");
      }

      }

      After successfully save a object, I try to update object list in the search bean
      via raiseTransactionSuccessEvent methods,

      They are work well under Tomcat or Jboss.

      But under Jetty, they are not. The reason is to use home bean to raise object
      list can not outject into front side, I had to use search bean to to it
      directly, then work.

      Any suggest for my code, so they also can work under Jetty?

      Thanks