Class AppBodyIncludeTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.application.AbstractApplicationTag
-
- com.jalios.jcms.taglib.application.AppBodyIncludeTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class AppBodyIncludeTag extends AbstractApplicationTag
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP, REVISION
-
-
Constructor Summary
Constructors Constructor Description AppBodyIncludeTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doAfterBody()
int
doStartTag()
java.lang.String
getJsp()
Publication
getPub()
static java.lang.String
getPubTemplate(Publication pub, java.lang.String template)
java.lang.String
getTemplate()
boolean
isDisplayActions()
boolean
isDisplayFooter()
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setDisplayActions(boolean displayActions)
void
setDisplayFooter(boolean displayFooter)
void
setDisplayHeader(boolean displayHeader)
void
setJsp(java.lang.String jsp)
void
setPub(Publication pub)
void
setTemplate(java.lang.String template)
-
Methods inherited from class com.jalios.jcms.taglib.IncludeTag
doBeforeBody, doEndTag, doInitBody, getClazz, getFile, getId, getIncludeObject, getIncludeString, getResource, getTarget, getTargetContext, getUsage, include, include, notRecusiveInclude, printErrorMessage, setClazz, setFile, setId, setIncludeString, setResource, setTarget, setTargetContext, setUsage, skipInclude
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classIncludeTag
- Throws:
javax.servlet.jsp.JspException
-
doAfterBody
public int doAfterBody() throws javax.servlet.jsp.JspException
- Specified by:
doAfterBody
in interfacejavax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in classIncludeTag
- Throws:
javax.servlet.jsp.JspException
-
getPubTemplate
public static java.lang.String getPubTemplate(Publication pub, java.lang.String template)
-
setContext
public void setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
- Overrides:
setContext
in classIncludeTag
-
clean
public void clean()
- Overrides:
clean
in classIncludeTag
-
isDisplayFooter
public boolean isDisplayFooter()
-
setDisplayFooter
public void setDisplayFooter(boolean displayFooter)
-
isDisplayActions
public boolean isDisplayActions()
-
setDisplayActions
public void setDisplayActions(boolean displayActions)
-
setDisplayHeader
public void setDisplayHeader(boolean displayHeader)
-
getPub
public Publication getPub()
- Overrides:
getPub
in classIncludeTag
-
setPub
public void setPub(Publication pub)
- Overrides:
setPub
in classIncludeTag
-
getJsp
public java.lang.String getJsp()
- Overrides:
getJsp
in classIncludeTag
-
setJsp
public void setJsp(java.lang.String jsp)
- Overrides:
setJsp
in classIncludeTag
-
getTemplate
public java.lang.String getTemplate()
-
setTemplate
public void setTemplate(java.lang.String template)
-
-