public class DemoHtmlFormsSingleFieldController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
DemoHtmlFormsSingleFieldController() |
| Modifier and Type | Method and Description |
|---|---|
void |
singleField(AppRequestContext context)
Single Field demo - GET
|
void |
singleFieldSubmit(AppRequestContext context)
Single Field demo - POST
|
protected void |
validateForm(org.spincast.core.request.Form form)
Validates the form.
|
public void singleField(AppRequestContext context)
public void singleFieldSubmit(AppRequestContext context)
protected void validateForm(org.spincast.core.request.Form form)
The results of the validations are saved in the form itself, so there is no need to return anything.
Copyright © 2019. All rights reserved.