Class DisplayGuiComponentTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTag
-
- com.microstrategy.web.app.taglibs.DisplayGuiComponentTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class DisplayGuiComponentTag extends AbstractNoBodyTag
- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisplayGuiComponentTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractNoBodyTagHelper
getHelper()
Method for retrieving the helper associated with the tag.void
setDisplayMode(java.lang.String value)
set the display mode used as the DisplayGuiComponent rendersvoid
setIsContainer(boolean value)
Deprecated.The value for isContainer is set from PageConfig.xmlvoid
setName(java.lang.String value)
Indicates the name of the GUI Component that will be rendered.void
setType(java.lang.String value)
Indicates the type of the GUI Component that will be rendered.-
Methods inherited from class com.microstrategy.web.app.taglibs.AbstractNoBodyTag
doEndTag, doStartTag, release
-
-
-
-
Method Detail
-
getHelper
public AbstractNoBodyTagHelper getHelper()
Method for retrieving the helper associated 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.
-
setDisplayMode
public void setDisplayMode(java.lang.String value)
set the display mode used as the DisplayGuiComponent renders- 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
-
setName
public void setName(java.lang.String value)
Indicates the name of the GUI Component that will be rendered.
Usage:
The GUI Component is defined based on a bean existing on the page. The value assigned to this attribute will be the GUI Component to search for getting it displayed to the user. If this attribute is not set, the GUI component will use the component specified in pageConfig.xml- Parameters:
value
-String
value with the name of the component to display.
-
setType
public void setType(java.lang.String value)
Indicates the type of the GUI Component that will be rendered.
Usage:
By default, the type is 'bean', which means it will take the definition of a gui component from the page config file. The types available are: - bean - message- Parameters:
value
-String
value with the type of the component to display.- Since:
- MicroStrategy Web 8.0.0
-
setIsContainer
public void setIsContainer(boolean value)
Deprecated.The value for isContainer is set from PageConfig.xml
-
-