Class DemoHtmlFormsMultipleFieldsController
java.lang.Object
org.spincast.website.controllers.demos.DemoHtmlFormsMultipleFieldsController
HTML Forms - Multiple Fields demo controller
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDemoHtmlFormsMultipleFieldsController
(FormFactory formFactory, JsonManager jsonManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected FormFactory
protected JsonManager
void
multipleFields
(AppRequestContext context) Multiple Fields demo - GETvoid
multipleFieldsSubmit
(AppRequestContext context) Multiple Fields demo - POSTprotected void
validateForm
(Form form) Validates the form.
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
DemoHtmlFormsMultipleFieldsController
@Inject public DemoHtmlFormsMultipleFieldsController(FormFactory formFactory, JsonManager jsonManager)
-
-
Method Details
-
getFormFactory
-
getJsonManager
-
multipleFields
Multiple Fields demo - GET -
multipleFieldsSubmit
Multiple Fields demo - POST -
validateForm
Validates the form.The results of the validations are saved in the form itself, so there is no need to return anything.
-