Class IfTemplateValueTag

  • 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 IfTemplateValueTag
    extends AbstractIfTag
    Since:
    MicroStrategy Web 8.0.0
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        bodyContent
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface javax.servlet.jsp.tagext.BodyTag

        EVAL_BODY_BUFFERED, EVAL_BODY_TAG
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AbstractIfTagHelper getHelper()
      Method for retrieving the helper associated with the tag.
      void release()
      Utility method for cleaning up the properties on the custom tag instance.
      void setProperty​(java.lang.String value)
      Indicates the property value that shall be retrieved from the current template.
      void setValue​(java.lang.String value)
      Indicates the value to compare the template's property with.
      • Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.servlet.jsp.tagext.Tag

        getParent, setPageContext, setParent
    • Constructor Detail

      • IfTemplateValueTag

        public IfTemplateValueTag()
    • Method Detail

      • release

        public void release()
        Utility method for cleaning up the properties on the custom tag instance.
        Specified by:
        release in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        release in class javax.servlet.jsp.tagext.BodyTagSupport
      • setProperty

        public void setProperty​(java.lang.String value)
        Indicates the property value that shall be retrieved from the current template.
        Usage:
        There's a predefined set of possible properties that can be asked for using this custom tag. If no property is specifed, the task of the custom tag will be to verify if the 'iFrame' property is true or not.
        Parameters:
        value - String with the name of the property to evaluate.
      • setValue

        public void setValue​(java.lang.String value)
        Indicates the value to compare the template's property with.
        Usage:
        The value indicated here will be compared against the one retrieved from the requested property. If this attribute is not specified, then the task of the custom tag will be limited to just determining the boolean value assigned to the requested property.
        Parameters:
        value - String with the value to use for comparing it against the property information retrieved.