Пример #1
0
 @Action(
     value = "carmark-dialog-ajax",
     results = {
       @Result(name = "success", location = "/WEB-INF/content/ajax/customer/mark-dialog-ajax.jsp")
     })
 public String markDialogAjax() {
   this.carmarkList = carMarkService.getMarkForFactory(factoryStr);
   return SUCCESS;
 }
Пример #2
0
 @Action(
     value = "customer-edit-ajax",
     results = {
       @Result(
           name = "success",
           location = "/WEB-INF/content/ajax/customer/customer-edit-ajax.jsp")
     })
 public String customer_edit_ajax() {
   customer = customerService.get(customer.getId());
   session.put("customer", customer);
   session.put("imageList", customer.getImageOfList());
   session.put("defectList", customer.getDefectList());
   session.put("costList", customer.getCostList());
   this.carmarkList =
       carMarkService.getMarkForFactory(customer.getCarFactory().getId().toString());
   return SUCCESS;
 }
Пример #3
0
 public List<CarMark> getMarks() {
   return carMarkService.getMarkForFactory(searchCarFactory);
 }