public class XFAUtils
extends java.lang.Object
Constructor and Description |
---|
XFAUtils() |
Modifier and Type | Method and Description |
---|---|
static Resource |
getFormsManagerResource(SlingHttpServletRequest slingRequest,
java.lang.String contentRoot,
java.lang.String template)
Return the forms manager resource
|
static java.lang.String |
getRequestAttribute(SlingHttpServletRequest slingRequest,
java.lang.String param)
Retturn the request attribute
|
static java.lang.String |
getSubmitUrl(SlingHttpServletRequest slingRequest,
java.lang.String contentRoot,
java.lang.String template)
returns the submitUrl based on submitUrl present at parameter and attribute
|
static boolean |
isResourceFormsManager(Resource resource)
Checks whethter the provided resource is of forms manager
|
public static boolean isResourceFormsManager(Resource resource)
resource
- public static java.lang.String getRequestAttribute(SlingHttpServletRequest slingRequest, java.lang.String param)
slingRequest,
- parampublic static Resource getFormsManagerResource(SlingHttpServletRequest slingRequest, java.lang.String contentRoot, java.lang.String template)
slingRequest,
- contentRoot, templatepublic static java.lang.String getSubmitUrl(SlingHttpServletRequest slingRequest, java.lang.String contentRoot, java.lang.String template)
slingRequest,
- contentRoot, templateCopyright © 2010 - 2020 Adobe. All Rights Reserved