public class AlfrescoTagUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_EDITABLE_CONTENT |
static String |
KEY_MARKER_ID_PREFIX |
| Constructor and Description |
|---|
AlfrescoTagUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
calculateRedirectUrl(javax.servlet.http.HttpServletRequest request)
Calculates the redirect url for form submission, this will
be the current request URL.
|
static String |
encode(String string)
Encodes the given string, so that it can be used within an HTML page.
|
static List<MarkedContent> |
getMarkedContent(javax.servlet.ServletRequest request)
Returns the list of marked content that has been discovered.
|
static void |
writeMarkContentHtml(Writer out,
String urlPrefix,
String redirectUrl,
MarkedContent content) |
public static final String KEY_MARKER_ID_PREFIX
public static final String KEY_EDITABLE_CONTENT
public static List<MarkedContent> getMarkedContent(javax.servlet.ServletRequest request)
This list is built up as each markContent tag is encountered.
public static void writeMarkContentHtml(Writer out, String urlPrefix, String redirectUrl, MarkedContent content) throws IOException, UnsupportedEncodingException
public static String calculateRedirectUrl(javax.servlet.http.HttpServletRequest request)
Copyright © 2005–2014 Alfresco Software. All rights reserved.