@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; }
@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; }
public List<CarMark> getMarks() { return carMarkService.getMarkForFactory(searchCarFactory); }