public class DemoHtmlFormsSingleFieldController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
DemoHtmlFormsSingleFieldController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
sendTemplate(AppRequestContext context)
Send HTML by rendering the specified template
and the current response model.
|
void |
singleField(AppRequestContext context)
Single Field demo - GET
|
void |
singleFieldSubmit(AppRequestContext context)
Single Field demo - POST
|
protected org.spincast.core.validation.ValidationSet |
validateForm(org.spincast.core.json.JsonObject form)
Validation of the form
|
protected void sendTemplate(AppRequestContext context)
public void singleField(AppRequestContext context)
public void singleFieldSubmit(AppRequestContext context)
protected org.spincast.core.validation.ValidationSet validateForm(org.spincast.core.json.JsonObject form)
Copyright © 2017. All rights reserved.