Class IfTemplateValueTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.microstrategy.web.app.taglibs.AbstractIfTag
-
- com.microstrategy.web.app.taglibs.IfTemplateValueTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class IfTemplateValueTag extends AbstractIfTag
- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IfTemplateValueTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractIfTagHelper
getHelper()
Method for retrieving the helper associated with the tag.void
release()
Utility method for cleaning up the properties on the custom tag instance.void
setProperty(java.lang.String value)
Indicates the property value that shall be retrieved from the current template.void
setValue(java.lang.String value)
Indicates the value to compare the template's property with.-
Methods inherited from class com.microstrategy.web.app.taglibs.AbstractIfTag
doEndTag, doStartTag, getCondition
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
release
public void release()
Utility method for cleaning up the properties on the custom tag instance.- Specified by:
release
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classjavax.servlet.jsp.tagext.BodyTagSupport
-
getHelper
public AbstractIfTagHelper getHelper()
Method for retrieving the helper associated with the tag.- Specified by:
getHelper
in classAbstractIfTag
- Returns:
- an instance of
AbstractIfTagHelper
which will take care of processing and rendering the HTML contents associated with this tag.
-
setProperty
public void setProperty(java.lang.String value)
Indicates the property value that shall be retrieved from the current template.
Usage:
There's a predefined set of possible properties that can be asked for using this custom tag. If no property is specifed, the task of the custom tag will be to verify if the 'iFrame' property is true or not.- Parameters:
value
-String
with the name of the property to evaluate.
-
setValue
public void setValue(java.lang.String value)
Indicates the value to compare the template's property with.
Usage:
The value indicated here will be compared against the one retrieved from the requested property. If this attribute is not specified, then the task of the custom tag will be limited to just determining the boolean value assigned to the requested property.- Parameters:
value
-String
with the value to use for comparing it against the property information retrieved.
-
-