@ProviderType
public interface MultiStepFormComponent
| Modifier and Type | Method and Description |
|---|---|
Form |
getForm(org.apache.sling.api.SlingHttpServletRequest request,
String step)
Get the data from the HTTP Request and move into the Map-based Form
abstraction
|
void |
onFailure(Form form,
String step,
org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response)
Handle unsuccessful form submission.
|
void |
onSuccess(Form form,
String step,
org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response)
Handle successful form submission.
|
boolean |
save(Form form,
String step)
Save the data to the underlying data store; implementation specific.
|
Form |
validate(Form form,
String step)
Validate the provided form data.
|
Form getForm(org.apache.sling.api.SlingHttpServletRequest request, String step)
request - Form validate(Form form, String step)
form - boolean save(Form form, String step)
form - void onSuccess(Form form, String step, org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws Exception
form - request - response - Exceptionvoid onFailure(Form form, String step, org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws Exception
form - request - response - ExceptionCopyright © 2013–2020 Adobe. All rights reserved.