コード例 #1
0
 protected void putApproveListToRequest(TravelApplication ta, HttpServletRequest request) {
   TravelApplicationApproveRequestManager tm =
       ServiceLocator.getTravelApplicationApproveRequestManager(request);
   List approveList =
       tm.getTravelApplicationApproveRequestListByApproveRequestId(ta.getApproveRequestId());
   request.setAttribute("X_APPROVELIST", approveList);
 }
コード例 #2
0
 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");
 }