Class BeanValueTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTag
-
- com.microstrategy.web.app.taglibs.BeanValueTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class BeanValueTag extends AbstractNoBodyTag
- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanValueTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractNoBodyTagHelper
getHelper()
Method for retrieving the helper associated with the tag.void
setBean(java.lang.String value)
Indicates the name of the bean from where the property will be obtained.void
setEncode(boolean value)
Indicates if the output to render should be HTML encoded or not.void
setJsEncode(boolean value)
Indicates if the output to render should be encoded for Javascript or not.void
setName(java.lang.String value)
Deprecated.USe SetBean Instead.void
setProperty(java.lang.String value)
Indicates the property of the bean to be read and displayed.-
Methods inherited from class com.microstrategy.web.app.taglibs.AbstractNoBodyTag
doEndTag, doStartTag, release
-
-
-
-
Method Detail
-
getHelper
public AbstractNoBodyTagHelper getHelper()
Method for retrieving the helper associated with the tag.- Specified by:
getHelper
in classAbstractNoBodyTag
- Returns:
- an instance from
AbstractNoBodyTagHelper
which will take care of processing and rendering the HTML contents associated with this tag.
-
setName
@Deprecated public void setName(java.lang.String value)
Deprecated.USe SetBean Instead.Indicates the name of the bean from where the property will be obtained.- Parameters:
value
-String
value with the name of the bean from where the property will be read.
-
setBean
public void setBean(java.lang.String value)
Indicates the name of the bean from where the property will be obtained.- Parameters:
value
-String
value with the name of the bean from where the property will be read.- Since:
- MicroStrategy Web 8.0.0
-
setProperty
public void setProperty(java.lang.String value)
Indicates the property of the bean to be read and displayed.
Usage:
The name of the property has to be the same as the method name that will be called for obtaining the value, except the initialget
prefix the method name has.- Parameters:
value
-String
with the name of the property to request from the bean.
-
setEncode
public void setEncode(boolean value)
Indicates if the output to render should be HTML encoded or not.
Usage:
For security and proper display on the HTML browsers, it is recommended this attribute to be HTML encoded. The default value if the attribute is not specified isFalse
.- Parameters:
value
-boolean
indicating if the output should be HTML encoded or not.
-
setJsEncode
public void setJsEncode(boolean value)
Indicates if the output to render should be encoded for Javascript or not.
Usage:
The encoding that Javascript requires is different from the one done for HTML; for example, quotes need to be paid special attention. The default value if this attribute is not specified isFalse
.- Parameters:
value
-boolean
indicating if the content to output should be javascript encoded or not.
-
-