Class ResourceMgrTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTag
-
- com.microstrategy.web.app.taglibs.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
-
-
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 com.microstrategy.web.app.taglibs.AbstractNoBodyTag
doEndTag, doStartTag, release
-
-
-
-
Method Detail
-
getHelper
public AbstractNoBodyTagHelper getHelper()
Description copied from class:AbstractNoBodyTag
Method for retrieving the helper related with the tag.- Specified by:
getHelper
in classAbstractNoBodyTag
- Returns:
- an instance from
AbstractNoBodyTagHelper
which will take care of processing and rendering the HTML contents related with this tag.
-
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 isFalse
.- Parameters:
value
-boolean
indicating if the content to output should be javascript encoded or not.- Since:
- MicroStrategy Web 9.0.1
-
-