Class ResourceMgrTagHelper
- java.lang.Object
-
- com.microstrategy.web.app.taglibs.CoreTagHelper
-
- com.microstrategy.web.app.taglibs.MstrPageTagHelper
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTagHelper
-
- com.microstrategy.web.app.taglibs.ResourceMgrTagHelper
-
public class ResourceMgrTagHelper extends AbstractNoBodyTagHelper
Helper for theResourceMgrTag
tag library.- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
_mstrPage
-
-
Constructor Summary
Constructors Constructor Description ResourceMgrTagHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanState()
Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.MarkupOutput
getContent()
Obtain the contents to render based on the attributes defined (if existing).void
setJsEncode(boolean value)
Sets the value assigned to the jsEncode attribute of the custom tag instance.void
setLocation(java.lang.String location)
Set the location for the content.void
setType(java.lang.String type)
Set the type of the content.-
Methods inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
getContainerServices, newHiddenInputBuilder, newURIBuilder, resolveNumericAttribute, setPageComponent
-
Methods inherited from class com.microstrategy.web.app.taglibs.CoreTagHelper
getTagsFactory
-
-
-
-
Method Detail
-
getContent
public MarkupOutput getContent() throws java.io.IOException
Description copied from class:AbstractNoBodyTagHelper
Obtain the contents to render based on the attributes defined (if existing).- Specified by:
getContent
in classAbstractNoBodyTagHelper
- Returns:
- a
MarkupOutput
instance initialized with the contents to be displayed - Throws:
java.io.IOException
- if an error happens while getting the contents to render.
-
setType
public void setType(java.lang.String type)
Set the type of the content.- 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".
-
cleanState
public void cleanState()
Description copied from class:MstrPageTagHelper
Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.- Overrides:
cleanState
in classMstrPageTagHelper
-
setJsEncode
public void setJsEncode(boolean value)
Sets the value assigned to the jsEncode attribute of the custom tag instance.- Parameters:
value
-boolean
indicating if the content to display should be javascript encoded- Since:
- MicroStrategy Web 9.0.1
-
-