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"); }