Class ScriptletTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.microstrategy.web.app.taglibs.AbstractBodyTag
-
- com.microstrategy.web.app.taglibs.ScriptletTag
-
- 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 ScriptletTag extends AbstractBodyTag
This tag is used for rendering a scriptlet from a JSP page. If the resource manager is enabled on a page, this tag would add the script contents to the resource manager.- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptletTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doAfterBody()
This method is called after the JSP engine processes the body content of the tag.AbstractBodyTagHelper
getHelper()
Method for retrieving the helper related with the tag.-
Methods inherited from class com.microstrategy.web.app.taglibs.AbstractBodyTag
doEndTag, doStartTag, release
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
getHelper
public AbstractBodyTagHelper getHelper()
Description copied from class:AbstractBodyTag
Method for retrieving the helper related with the tag.- Specified by:
getHelper
in classAbstractBodyTag
- Returns:
- An instance from
AbstractBodyTagHelper
which will take care of processing and rendering the HTML contents related with this tag.
-
doAfterBody
public int doAfterBody() throws javax.servlet.jsp.JspException
This method is called after the JSP engine processes the body content of the tag. Not invoked in empty tags or in tags returning SKIP_BODY in doStartTag() This method is invoked after every body evaluation.- Specified by:
doAfterBody
in interfacejavax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in classAbstractBodyTag
- Returns:
- EVAL_BODY_TAG if the JSP engine should evaluate the tag body again, otherwise return SKIP_BODY.
- Throws:
javax.servlet.jsp.JspException
- if an error is risen when displaying the custom tag contents
-
-