|
|||||||||
| 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.frontend.templateone.CmsTemplateBase
public class CmsTemplateBase
Base action element for all template one beans.
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIBUTE_ORIGINAL_URI
The old uri is stored in this parameter (if required). |
| Fields inherited from class org.opencms.jsp.CmsJspActionElement |
|---|
NOT_INITIALIZED |
| Constructor Summary | |
|---|---|
CmsTemplateBase()
Empty constructor, required for every JavaBean. |
|
CmsTemplateBase(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getOriginalUri()
Returns the original OpenCms request context URI thas has been changed, or null
if the URI was not changed. |
void |
initUri()
Initializes the URI of the current template page. |
boolean |
isUriChanged()
Returns true if the OpenCms request context URI has been changed. |
| 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 |
|---|
public static final java.lang.String ATTRIBUTE_ORIGINAL_URI
| Constructor Detail |
|---|
public CmsTemplateBase()
public CmsTemplateBase(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
CmsJspActionElement.CmsJspActionElement(PageContext, HttpServletRequest, HttpServletResponse)| Method Detail |
|---|
public java.lang.String getOriginalUri()
null
if the URI was not changed.
null
if the URI was not changedpublic void initUri()
This checks for the presence of a special uri parameter.
If this parameter is found, the OpenCms request context URI is switched to this value.
public boolean isUriChanged()
true if the OpenCms request context URI has been changed.
true if the OpenCms request context URI has been changed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||