public class UserGeneratedContentAction extends Object implements FormAction
| Constructor and Description |
|---|
UserGeneratedContentAction() |
| 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
|
public FormActionResult handleForm(org.apache.sling.api.resource.Resource actionResource, FormRequest request) throws FormException
FormActionhandleForm in interface FormActionactionResource - the configuration to use to configure the form actionrequest - the form request to handleFormException - an exception occurs handling the formpublic boolean handles(org.apache.sling.api.resource.Resource actionResource)
FormActionhandles in interface FormActionactionResource - the resource to checkCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.