@Controller(value="blRegisterCustomerController") @RequestMapping(value="/registerCustomer") public class RegisterCustomerController extends Object
Modifier and Type | Field and Description |
---|---|
protected ChallengeQuestionService |
challengeQuestionService |
protected CustomerService |
customerService |
protected String |
displayRegistrationFormView |
protected LoginService |
loginService |
protected RegisterCustomerValidator |
registerCustomerValidator |
protected String |
registrationErrorView |
protected String |
registrationSuccessView |
Constructor and Description |
---|
RegisterCustomerController() |
protected String displayRegistrationFormView
protected String registrationErrorView
protected String registrationSuccessView
protected CustomerService customerService
protected RegisterCustomerValidator registerCustomerValidator
protected ChallengeQuestionService challengeQuestionService
protected LoginService loginService
@RequestMapping(value="registerCustomer", method=GET) public String registerCustomer()
@RequestMapping(value="registerCustomer", method=POST) public org.springframework.web.servlet.ModelAndView registerCustomer(@ModelAttribute(value="registerCustomerForm") RegisterCustomerForm registerCustomerForm, org.springframework.validation.BindingResult errors, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="registerCustomerSuccess", method=GET) public String registerCustomerSuccess()
@ModelAttribute(value="registerCustomerForm") public RegisterCustomerForm initCustomerRegistrationForm()
@ModelAttribute(value="challengeQuestions") public List<ChallengeQuestion> getChallengeQuestions()
public String getRegistrationErrorView()
public void setRegistrationErrorView(String registrationErrorView)
public String getRegistrationSuccessView()
public void setRegistrationSuccessView(String registrationSuccessView)
public RegisterCustomerValidator getRegisterCustomerValidator()
public void setRegisterCustomerValidator(RegisterCustomerValidator registerCustomerValidator)
public String getDisplayRegistrationFormView()
public void setDisplayRegistrationFormView(String displayRegistrationFormView)
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
Copyright © 2020. All rights reserved.