Package org.hoteia.qalingo.web.mvc.form

Examples of org.hoteia.qalingo.web.mvc.form.RetailerCommentForm


       
        return retailerContactForm;
    }
   
    public RetailerCommentForm buildRetailerCommentForm(final RequestData requestData, final Retailer retailer) throws Exception {
        RetailerCommentForm retailerCommentForm = new RetailerCommentForm();
        retailerCommentForm.setRetailerCode(retailer.getCode());
        return retailerCommentForm;
    }
View Full Code Here


        final Retailer currentRetailer = requestData.getMarketAreaRetailer();
   
    Retailer retailer = retailerService.getRetailerByCode(currentMarketArea.getId(), currentRetailer.getId(), retailerCode);
   
    if(retailerCommentForm == null
          || retailerCommentForm.equals(new RetailerCommentForm())){
      retailerCommentForm = formFactory.buildRetailerCommentForm(requestData, retailer);
      model.addAttribute("retailerContactForm", retailerCommentForm);
    }
   
    model.addAttribute("urlSubmit", urlService.generateUrl(FoUrls.RETAILER_COMMENT, requestData, retailer));
View Full Code Here

TOP

Related Classes of org.hoteia.qalingo.web.mvc.form.RetailerCommentForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.