Skip navigation links
oracle.stellent.wcm.javaee.taglib
Class BaseTag<T extends SiteRequest>
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
oracle.stellent.wcm.javaee.taglib.BaseTag<T>
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
- Direct Known Subclasses:
- DataFileTag, DynamicListTag, ElementTag, IdcServiceTag, MetadataTag, PlaceholderTag, StaticPlaceholderTag, UrlTag
-
public abstract class BaseTag<T extends SiteRequest>
- extends javax.servlet.jsp.tagext.SimpleTagSupport
Generic tag implementation that invokes a WCM Command object
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 |
m_log
protected ILog m_log
BaseTag
public BaseTag()
getClientApplication
protected ClientApplication getClientApplication()
throws ApplicationException
-
- Throws:
ApplicationException
getSiteRequestInvoker
protected SiteRequestInvoker<T> getSiteRequestInvoker()
throws ApplicationException
-
- Returns:
- the request invoker
- Throws:
ApplicationException
createSiteRequestInvoker
protected abstract SiteRequestInvoker<T> createSiteRequestInvoker()
throws ApplicationException
-
- Returns:
- the type of request
- Throws:
ApplicationException
populateSiteRequest
protected abstract void populateSiteRequest()
throws ApplicationException
- Populate the site request object from the tag parameters
-
- Throws:
ApplicationException
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
getViewBody
protected javax.servlet.jsp.tagext.JspFragment getViewBody()
-
- Returns:
- the jsp fragment to render the view; default to returning the value of
SimpleTagSupport.getJspBody()
beforeScriptEvaluation
protected boolean beforeScriptEvaluation()
throws ApplicationException
- Allow sub-classes to handle the response
-
- Returns:
- it true then the evaluation continues
- Throws:
ApplicationException
isUseJspBody
protected boolean isUseJspBody()
-
- Returns:
- determine if we should use the JSP body into the response handler
Skip navigation links
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.