Guest User

Untitled

a guest
Feb 22nd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. @RequestMapping(value = "/checkout/billing", method = RequestMethod.GET)
  2. public String getBillingPage(Model model, final HttpServletRequest request) throws CMSItemNotFoundException {
  3. // other code
  4.  
  5. checkoutForm.setCustomFieldsForm(customFieldsForm);
  6. model.addAttribute("checkoutForm", checkoutForm);
  7.  
  8. // other code
  9. }
  10.  
  11. @RequestMapping(value = "/checkout/billing", method = RequestMethod.POST)
  12. public String submitPayment(
  13. @Valid @ModelAttribute("checkoutForm") final CheckoutForm checkoutForm,
  14. final BindingResult bindingResult,
  15. Model model,
  16. final HttpServletRequest request,
  17. final HttpServletResponse response) throws CMSItemNotFoundException
  18. {}
Add Comment
Please, Sign In to add comment