Class ResourceMgrTag

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class ResourceMgrTag
    extends AbstractNoBodyTag
    This tag is used for rendering the contents from the resource manager. If the page resource manager is not enabled, this tag would not generate any content.
    Since:
    MicroStrategy Web 9.0.0
    See Also:
    Serialized Form
    • Field Summary

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

        id, pageContext
      • 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
      ResourceMgrTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AbstractNoBodyTagHelper getHelper()
      Method for retrieving the helper related with the tag.
      void setJsEncode​(boolean value)
      Indicates if the output to render should be encoded for Javascript or not.
      void setLocation​(java.lang.String location)
      Set the location for the content.
      void setType​(java.lang.String type)
      Set the type of content to be rendered.
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        doAfterBody, 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
    • Constructor Detail

      • ResourceMgrTag

        public ResourceMgrTag()
    • Method Detail

      • setType

        public void setType​(java.lang.String type)
        Set the type of content to be rendered.
        Parameters:
        type - - String. Value can be either of "scriptFiles" or "inlineScripts". Default value is "scriptFiles".
      • setLocation

        public void setLocation​(java.lang.String location)
        Set the location for the content. This parameter is applicable only for type "scriptFiles".
        Parameters:
        location - - String. Value can be "head" or "tail". Default value is "tail".
      • setJsEncode

        public void setJsEncode​(boolean value)
        Indicates if the output to render should be encoded for Javascript or not.
        Usage:
        The encoding that Javascript requires is different from the one done for HTML; for example, quotes need to be paid special attention. The default value if this attribute is not specified is False.
        Parameters:
        value - boolean indicating if the content to output should be javascript encoded or not.
        Since:
        MicroStrategy Web 9.0.1