Class JuilElementTagHelper
- 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.JuilElementTagHelper
-
public class JuilElementTagHelper extends AbstractNoBodyTagHelper
- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
_mstrPage
-
-
Constructor Summary
Constructors Constructor Description JuilElementTagHelper()
-
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()
This method generates the html/javascript to register a model block and view block (directly retrieved fromBlockFactory
instance.void
setGenScript(java.lang.String value)
Specifies whether to render the layout scripts for the view block or not.void
setModelBlock(java.lang.String value)
Sets the name of the model block to be retrieved fromBlockFactory
.void
setModelId(java.lang.String value)
Sets the id of the model block.void
setRenderView(java.lang.String value)
Specifies whether to call the render() on the view block.void
setViewBlock(java.lang.String value)
Sets the name of the view block to be retrieved fromBlockFactory
.void
setViewId(java.lang.String value)
Sets the id of the view block.-
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
This method generates the html/javascript to register a model block and view block (directly retrieved fromBlockFactory
instance. It generates the following:- 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.
-
setModelBlock
public void setModelBlock(java.lang.String value)
Sets the name of the model block to be retrieved fromBlockFactory
.- Parameters:
value
- the name of the model block as specified in BlockLibary.xml
-
setViewBlock
public void setViewBlock(java.lang.String value)
Sets the name of the view block to be retrieved fromBlockFactory
.- Parameters:
value
- the name of the view block as specified in BlockLibary.xml
-
setModelId
public void setModelId(java.lang.String value)
Sets the id of the model block. If it's not set the tag will pick up modelBlockName postfix by "_model" as the id.- Parameters:
value
- the id of the model block.
-
setViewId
public void setViewId(java.lang.String value)
Sets the id of the view block. If it's not set the tag will pick up viewBlockName postfix by "_view" as the id.- Parameters:
value
- the id of the view block.
-
setRenderView
public void setRenderView(java.lang.String value)
Specifies whether to call the render() on the view block.- Parameters:
value
- "true" to render and "false" to skip.
-
setGenScript
public void setGenScript(java.lang.String value)
Specifies whether to render the layout scripts for the view block or not.- Parameters:
value
- "true" to render and "false" to skip.
-
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
-
-