protected void putApproveListToRequest(TravelApplication ta, HttpServletRequest request) { TravelApplicationApproveRequestManager tm = ServiceLocator.getTravelApplicationApproveRequestManager(request); List approveList = tm.getTravelApplicationApproveRequestListByApproveRequestId(ta.getApproveRequestId()); request.setAttribute("X_APPROVELIST", approveList); }
protected void processHotelPrice(TravelApplication ta, BeanForm taForm) { if (ta.getHotel() == null) taForm.set("hotel_id", "-1"); if (ta.getPrice() == null) taForm.set("price_id", "-1"); }