Skip navigation links
oracle.stellent.wcm.javaee.taglib
Class ContextTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
oracle.stellent.wcm.javaee.taglib.ContextTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
-
public class ContextTag
- extends javax.servlet.jsp.tagext.SimpleTagSupport
Sets the context for all subsequent WCM tags on the current request. This invokes the SiteCommand to validate the new contextual information but does not navigate to any template page.
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextTag
public ContextTag()
getUrl
public java.lang.String getUrl()
setUrl
public void setUrl(java.lang.String url)
getSiteID
public java.lang.String getSiteID()
setSiteID
public void setSiteID(java.lang.String siteID)
isInitFromPath
public boolean isInitFromPath()
-
- Returns:
- if true, the SiteContext will be initialized with the current request path
setInitFromPath
public void setInitFromPath(boolean initFromPath)
getClientApplication
public ClientApplication getClientApplication()
throws ApplicationException
-
- Throws:
ApplicationException
getServletRequest
public javax.servlet.http.HttpServletRequest getServletRequest()
-
- Returns:
- retrieve the active servlet request
doTag
public void doTag()
throws javax.servlet.jsp.JspException,
java.io.IOException
- Evaluate the placeholder tag
-
- Specified by:
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
-
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
Skip navigation links
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.