Class DemoHtmlFormsMultipleFieldsController

java.lang.Object
org.spincast.website.controllers.demos.DemoHtmlFormsMultipleFieldsController

public class DemoHtmlFormsMultipleFieldsController extends Object
HTML Forms - Multiple Fields demo controller
  • Field Details

    • logger

      protected static final org.slf4j.Logger logger
  • Constructor Details

    • DemoHtmlFormsMultipleFieldsController

      @Inject public DemoHtmlFormsMultipleFieldsController(FormFactory formFactory, JsonManager jsonManager)
  • Method Details

    • getFormFactory

      protected FormFactory getFormFactory()
    • getJsonManager

      protected JsonManager getJsonManager()
    • multipleFields

      public void multipleFields(AppRequestContext context)
      Multiple Fields demo - GET
    • multipleFieldsSubmit

      public void multipleFieldsSubmit(AppRequestContext context)
      Multiple Fields demo - POST
    • validateForm

      protected void validateForm(Form form)
      Validates the form.

      The results of the validations are saved in the form itself, so there is no need to return anything.