|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.jsp.CmsJspBean
org.opencms.jsp.CmsJspActionElement
org.opencms.gwt.CmsGwtActionElement
public class CmsGwtActionElement
Sitemap action used to generate the sitemap editor.
see jsp file /system/modules/org.opencms.ade.sitemap/sitemap.jsp.
| Field Summary | |
|---|---|
protected static String |
SCRIPT_TAG_CLOSE
The closing script tag. |
protected static String |
SCRIPT_TAG_OPEN
The opening script tag. |
| Fields inherited from class org.opencms.jsp.CmsJspActionElement |
|---|
NOT_INITIALIZED |
| Constructor Summary | |
|---|---|
CmsGwtActionElement(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Constructor. |
|
| Method Summary | |
|---|---|
String |
createNoCacheScript(String moduleName)
Returns the script tag for the "*.nocache.js". |
String |
export()
Returns the serialized data for the core provider wrapped in a script tag. |
String |
export(String iconCssClassPrefix)
Returns the serialized data for the core provider wrapped into a script tag. |
String |
exportAll()
Returns the serialized data for the core provider. |
String |
exportAll(String cssIconClassPrefix)
Exports everything, using the given CSS selector prefix. |
CmsCoreData |
getCoreData()
Returns the needed server data for client-side usage. |
Locale |
getWorkplaceLocale()
Returns the workplace locale for the current user. |
protected String |
serialize(Method method,
Object data)
Serializes the result of the given method for RPC-prefetching. |
protected StringBuffer |
wrapScript(StringBuffer sb)
Wraps the given buffer with surrounding script tags. |
| Methods inherited from class org.opencms.jsp.CmsJspActionElement |
|---|
editable, editable, editable, editableManualClose, editableManualOpen, getContent, getContent, getMessages, getMessages, getMessages, getMessages, getNavigation, getNavigationUri, img, img, include, include, include, include, include, include, includeSilent, includeSilent, includeSilent, includeSilent, info, label, link, link, properties, properties, property, property, property, property, template, template, template, toAbsolute, user |
| Methods inherited from class org.opencms.jsp.CmsJspBean |
|---|
getCmsObject, getController, getJspContext, getMessage, getRequest, getRequestContext, getResponse, handleException, init, isNotInitialized, isSupressingExceptions, setContentType, setStatus, setSupressingExceptions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String SCRIPT_TAG_CLOSE
protected static final String SCRIPT_TAG_OPEN
| Constructor Detail |
|---|
public CmsGwtActionElement(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
context - the JSP page context objectreq - the JSP requestres - the JSP response| Method Detail |
|---|
public String createNoCacheScript(String moduleName)
moduleName - the module name to get the script tag for
"<script>" tag for the "*.nocache.js".
public String export()
throws Exception
Exception - if something goes wrong
public String export(String iconCssClassPrefix)
throws Exception
iconCssClassPrefix - the prefix for icon css class rules
Exception - if something goes wrong
public String exportAll()
throws Exception
Exception - if something goes wrong
public String exportAll(String cssIconClassPrefix)
throws Exception
cssIconClassPrefix - the CSS selector prefix
Exception - if something goes wrongpublic CmsCoreData getCoreData()
public Locale getWorkplaceLocale()
protected String serialize(Method method,
Object data)
throws com.google.gwt.user.client.rpc.SerializationException
method - the methoddata - the result to serialize
com.google.gwt.user.client.rpc.SerializationException - if something goes wrongprotected StringBuffer wrapScript(StringBuffer sb)
sb - the string buffer to wrap
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||