Class CallTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.apache.sling.scripting.jsp.taglib.CallTag
-
- All Implemented Interfaces:
Serializable,IterationTag,JspTag,Tag
public class CallTag extends TagSupport
TheCallTagimplements the<sling:call>custom tag.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
-
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
-
Constructor Summary
Constructors Constructor Description CallTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoEndTag()Default processing of the end tag returning EVAL_PAGE.voidsetFlush(boolean flush)Sets the flush attributevoidsetIgnoreComponentHierarchy(boolean ignoreComponentHierarchy)Set the ignore component hierarchy attributevoidsetPageContext(PageContext pageContext)Set the page context.voidsetScript(String script)Sets the script attribute-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue
-
-
-
-
Method Detail
-
doEndTag
public int doEndTag() throws JspExceptionDescription copied from class:TagSupportDefault processing of the end tag returning EVAL_PAGE.- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classTagSupport- Returns:
- EVAL_PAGE
- Throws:
JspException- if an error occurs while processing this tag- See Also:
Tag.doEndTag()
-
setPageContext
public void setPageContext(PageContext pageContext)
Description copied from class:TagSupportSet the page context.- Specified by:
setPageContextin interfaceTag- Overrides:
setPageContextin classTagSupport- Parameters:
pageContext- The PageContext.- See Also:
Tag.setPageContext(javax.servlet.jsp.PageContext)
-
setScript
public void setScript(String script)
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
-
-