Class DisplayGuiComponentTagHelper
- 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.DisplayGuiComponentTagHelper
-
public class DisplayGuiComponentTagHelper extends AbstractNoBodyTagHelper
Helper for theDisplayGuiComponentTag
tag library.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
_mstrPage
-
-
Constructor Summary
Constructors Constructor Description DisplayGuiComponentTagHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated 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()
Obtains the contents to render based on the attributes defined (if existing).java.lang.String
getDisplayMode()
get the display mode used when the GuiComponent renders itselfvoid
setDisplayMode(java.lang.String value)
set the display mode used when the GuiComponent renders itselfvoid
setIsContainer(boolean value)
Deprecated.No references to this method.void
setName(java.lang.String value)
Sets the value assigned to the name attribute of the custom tag instance that uses this helpervoid
setType(java.lang.String value)
Sets the value assigned to the type attribute of the custom tag instance that uses this helper-
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
-
cleanState
public void cleanState()
Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.- Overrides:
cleanState
in classMstrPageTagHelper
-
getContent
public MarkupOutput getContent() throws java.io.IOException
Obtains 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 display - Throws:
java.io.IOException
- if an error happens while getting the contents to render.
-
setDisplayMode
public void setDisplayMode(java.lang.String value)
set the display mode used when the GuiComponent renders itself- Parameters:
value
- String the display mode:AppContext.DISPLAY_MODE_HTML
- plain HTMLAppContext.DISPLAY_MODE_JSON
- the output will be wrapped up in a json structure in form of {id: id of the component, content: html content to be updated} or {id: if of the component, components: sub json blocks}- Since:
- MicroStrategy Web 9.0.1
-
getDisplayMode
public java.lang.String getDisplayMode()
get the display mode used when the GuiComponent renders itself- Returns:
- the display mode
- Since:
- MicroStrategy Web 9.0.1
-
setName
public void setName(java.lang.String value)
Sets the value assigned to the name attribute of the custom tag instance that uses this helper- Parameters:
value
-String
with the name of the GUI Component to render
-
setType
public void setType(java.lang.String value)
Sets the value assigned to the type attribute of the custom tag instance that uses this helper- Parameters:
value
-String
with the type of the GUI Component to render- Since:
- MicroStrategy Web 8.0.0
-
setIsContainer
public void setIsContainer(boolean value)
Deprecated.No references to this method. pageConfig.xml defines the value for _isContainerSet the value assigned to the isContainer attribute of the custom tag instance that uses this helper- Parameters:
value
-boolean
indicating if the GUI Component is a container or not
-
-