public interface FormAction
Modifier and Type | Method and Description |
---|---|
FormActionResult |
handleForm(org.apache.sling.api.resource.Resource actionResource,
FormRequest request)
Handle a form submission.
|
boolean |
handles(org.apache.sling.api.resource.Resource actionResource)
Checks if the the Form Action should handle the specified request and action
|
FormActionResult handleForm(org.apache.sling.api.resource.Resource actionResource, FormRequest request) throws FormException
actionResource
- the configuration to use to configure the form actionrequest
- the form request to handleFormException
- an exception occurs handling the formboolean handles(org.apache.sling.api.resource.Resource actionResource)
actionResource
- the resource to checkCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.