Package com.day.cq.wcm.tags
Class IncludeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.day.cq.wcm.tags.IncludeTag
- All Implemented Interfaces:
Serializable,IterationTag,JspTag,Tag
IncludeTag implements the <cq:include/> tag.- See Also:
-
Field Summary
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoEndTag()Default processing of the end tag returning EVAL_PAGE.voidsetDefaultResourceType(String type) Sets the defaultResourceType attributevoidsetFlush(boolean flush) Sets the flush attributevoidsetIgnoreComponentHierarchy(boolean ignoreComponentHierarchy) Set the ignore component hierarchy attributevoidsetPageContext(PageContext pageContext) Set the page context.voidSets the path attributevoidsetResourceType(String resourceType) Sets the resource type attributevoidSets the script attributeMethods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue
-
Constructor Details
-
IncludeTag
public IncludeTag()
-
-
Method Details
-
doEndTag
Default processing of the end tag returning EVAL_PAGE.- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classTagSupport- Returns:
- EVAL_PAGE
- Throws:
JspException- if an error occurs- See Also:
-
setPageContext
Set the page context.- Specified by:
setPageContextin interfaceTag- Overrides:
setPageContextin classTagSupport- Parameters:
pageContext- The PageContext.- See Also:
-
setDefaultResourceType
Sets the defaultResourceType attribute- Parameters:
type- attribute value
-
setResourceType
Sets the resource type attribute- Parameters:
resourceType- attribute value
-
setPath
Sets the path attribute- Parameters:
path- attribute value
-
setScript
Sets the script attribute- Parameters:
script- attribute value
-
setFlush
public void setFlush(boolean flush) Sets the flush attribute- Parameters:
flush- attribute value
-
setIgnoreComponentHierarchy
public void setIgnoreComponentHierarchy(boolean ignoreComponentHierarchy) Set the ignore component hierarchy attribute- Parameters:
ignoreComponentHierarchy- attribute value
-