Class DemoHtmlFormsSingleFieldController
java.lang.Object
org.spincast.website.controllers.demos.DemoHtmlFormsSingleFieldController
HTML Forms - Single Field demo controller
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
singleField
(AppRequestContext context) Single Field demo - GETvoid
singleFieldSubmit
(AppRequestContext context) Single Field demo - POSTprotected void
validateForm
(Form form) Validates the form.
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
DemoHtmlFormsSingleFieldController
public DemoHtmlFormsSingleFieldController()
-
-
Method Details
-
singleField
Single Field demo - GET -
singleFieldSubmit
Single Field 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.
-