Class ScriptPageStateTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTag
-
- com.microstrategy.web.app.taglibs.ScriptPageStateTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class ScriptPageStateTag extends AbstractNoBodyTag
- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptPageStateTag()
-
Method Summary
All Methods Instance Methods Concrete 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
setPersistParameters(java.lang.String persistParams)
Indicates a list of parameters need to be persisted in page statevoid
setUpdateWindow(boolean value)
Indicates if JavaScript code for updating the window's content should be generated or not.-
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 of
AbstractNoBodyTagHelper
which will take care of processing and rendering the HTML contents associated with this tag.
-
setUpdateWindow
public void setUpdateWindow(boolean value)
Indicates if JavaScript code for updating the window's content should be generated or not.- Parameters:
value
-boolean
indicating if the window should be updated or not.
-
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}- Since:
- MicroStrategy Web 9.0.1
-
setPersistParameters
public void setPersistParameters(java.lang.String persistParams)
Indicates a list of parameters need to be persisted in page state- Parameters:
persistParams
-String
a comma seperated string. Such as "name1,name2".- Since:
- MicroStrategy Web 8.0.2
-
-