Class AbstractB2BRegistrationController

    • Constructor Detail

      • AbstractB2BRegistrationController

        public AbstractB2BRegistrationController()
    • Method Detail

      • populateModelCmsContent

        protected abstract void populateModelCmsContent​(org.springframework.ui.Model model,
                                                        ContentPageModel contentPageModel)
        Method that ensures the model is populated with all required CMS components in order to properly render the registration page.
      • getRegistrationView

        protected abstract java.lang.String getRegistrationView()
        Return the name of the view to be used for the registration page
      • getRegistrationCmsPage

        protected abstract java.lang.String getRegistrationCmsPage()
        Return the name of the cms page to be used for the registration page
      • getDefaultRegistrationPage

        protected java.lang.String getDefaultRegistrationPage​(org.springframework.ui.Model model,
                                                              ContentPageModel contentPageModel)
        Calls the implementation of both other methods declared above and adds the required registration form to the model.
      • getCountries

        @ModelAttribute("countries")
        public java.util.List<CountryData> getCountries()
        Spring MVC Model attribute that holds the list of countries used to populate the "Country" dropdown.