Class ClientSideDescriptorTagHelper
- 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.ClientSideDescriptorTagHelper
-
public class ClientSideDescriptorTagHelper extends AbstractNoBodyTagHelper
Title: ClientSideDescriptorTagHelper.
Description:
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static char
RECORD_DELIMITER
static char
UNIT_DELIMITER
-
Fields inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
_mstrPage
-
-
Constructor Summary
Constructors Constructor Description ClientSideDescriptorTagHelper()
-
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()
Obtains the contents to render based on the attributes defined (if existing).void
setIDs(java.lang.String ids)
void
setPrefix(java.lang.String prefix)
-
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
-
-
-
-
Field Detail
-
RECORD_DELIMITER
public static final char RECORD_DELIMITER
- See Also:
- Constant Field Values
-
UNIT_DELIMITER
public static final char UNIT_DELIMITER
- See Also:
- Constant Field Values
-
-
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). Outputs JavaScript in the form of:
<script language="JavaScript">microstrategy.descriptors.addDescriptors("id1|value1;id2|value2")</script>
- 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.
-
setIDs
public void setIDs(java.lang.String ids)
-
setPrefix
public void setPrefix(java.lang.String prefix)
- Since:
- MicroStrategy Web 9.0.0
-
-