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
The CallTag implements the <sling:call> custom tag.
See Also:
  • Constructor Details

    • CallTag

      public CallTag()
  • Method Details

    • doEndTag

      public int doEndTag() throws JspException
      Description copied from class: TagSupport
      Default processing of the end tag returning EVAL_PAGE.
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Returns:
      EVAL_PAGE
      Throws:
      JspException - if an error occurs while processing this tag
      See Also:
    • setPageContext

      public void setPageContext(PageContext pageContext)
      Description copied from class: TagSupport
      Set the page context.
      Specified by:
      setPageContext in interface Tag
      Overrides:
      setPageContext in class TagSupport
      Parameters:
      pageContext - The PageContext.
      See Also:
    • 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