Class IfBeanValueTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.microstrategy.web.app.taglibs.AbstractIfTag
-
- com.microstrategy.web.app.taglibs.IfBeanValueTag
-
- 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 IfBeanValueTag extends AbstractIfTag
- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IfBeanValueTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated 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
setBean(java.lang.String value)
Indicates the name of the bean to search for, which will be used for evaluating the condition.void
setName(java.lang.String value)
Deprecated.Use SetBean Instead.void
setProperty(java.lang.String value)
Indicates the property or method to call from the bean specified on the name attribute value.void
setValue(java.lang.String value)
Indicates the value that will be compared with the tag's property argument.-
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 from
AbstractIfTagHelper
which will take care of processing and rendering the HTML contents related with this tag.
-
setName
public void setName(java.lang.String value)
Deprecated.Use SetBean Instead.Indicates the name of the bean to search for, which will be used for evaluating the condition.
The name of the bean indicated has to be a valid bean on the page being displayed, otherwise the condition evaluation will returnFalse
by default.- Parameters:
value
-String
with the name of the bean to search for.
-
setBean
public void setBean(java.lang.String value)
Indicates the name of the bean to search for, which will be used for evaluating the condition.
The name of the bean indicated has to be a valid bean on the page being displayed, otherwise the condition evaluation will returnFalse
by default.- Parameters:
value
-String
with the name of the bean to search for.- Since:
- MicroStrategy Web 8.0.0
-
setProperty
public void setProperty(java.lang.String value)
Indicates the property or method to call from the bean specified on the name attribute value.
Usage:
The value to assign to this attribute has to be the exact name of the method that will be called for evaluation. If the method is not found, then the condition will by default returnFalse
- Parameters:
value
-String
with the name of the method to call for evaluating the condition
-
setValue
public void setValue(java.lang.String value)
Indicates the value that will be compared with the tag's property argument.
The value assigned to this attribute will be specified as aString
, therefore, the resulting value from calling the method specified on the property attribute will also be translated into aString
. These two values will be compared and from there the resulting condition value will be obtained.- Parameters:
value
-String
with the value to use for comparing the property value.
-
-