Class IfBeanValueTagHelper
- java.lang.Object
-
- com.microstrategy.web.app.taglibs.CoreTagHelper
-
- com.microstrategy.web.app.taglibs.MstrPageTagHelper
-
- com.microstrategy.web.app.taglibs.AbstractIfTagHelper
-
- com.microstrategy.web.app.taglibs.IfBeanValueTagHelper
-
public class IfBeanValueTagHelper extends AbstractIfTagHelper
Helper for theIfBeanValueTag
tag library.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
_mstrPage
-
-
Constructor Summary
Constructors Constructor Description IfBeanValueTagHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkCondition()
Evaluates the condition as specified by the tag's definition.void
cleanState()
Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.void
setName(java.lang.String value)
Sets the value assigned to the name attribute of the custom tag instance that uses this helpervoid
setProperty(java.lang.String value)
Sets the value assigned to the property attribute of the custom tag instance that uses this helpervoid
setValue(java.lang.String value)
Sets the value assigned to the value attribute of the custom tag instance that uses this helper-
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
-
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
-
checkCondition
public boolean checkCondition() throws MSTRCheckedException
Evaluates the condition as specified by the tag's definition.- Specified by:
checkCondition
in classAbstractIfTagHelper
- Returns:
- the
boolean
value corresponding to the result of the condition checked - Throws:
MSTRCheckedException
- if an exception happens while evaluating the condition.
-
setName
public void setName(java.lang.String value)
Sets the value assigned to the name attribute of the custom tag instance that uses this helper- Parameters:
value
-String
with the name of bean to search for
-
setProperty
public void setProperty(java.lang.String value)
Sets the value assigned to the property attribute of the custom tag instance that uses this helper- Parameters:
value
-String
with the property to search for.
-
setValue
public void setValue(java.lang.String value)
Sets the value assigned to the value attribute of the custom tag instance that uses this helper- Parameters:
value
-String
value to use to compare it against the value returned by the property
-
-