Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


oracle.stellent.wcm.javaee.taglib
Class ContextTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by 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.


Constructor Summary
ContextTag()
           

 

Method Summary
 void doTag()
          Evaluate the placeholder tag
 javax.servlet.http.HttpServletRequest getServletRequest()
           
 java.lang.String getSiteID()
           
 java.lang.String getUrl()
           
 ClientApplication getWcmApplication()
           
 boolean isInitFromPath()
           
 void setInitFromPath(boolean initFromPath)
           
 void setSiteID(java.lang.String siteID)
           
 void setUrl(java.lang.String url)
           

 

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

 

Constructor Detail

ContextTag

public ContextTag()

Method Detail

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)

getWcmApplication

public ClientApplication getWcmApplication()
                                    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

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.