Class 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
    • Field Summary

      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • 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 javax.servlet.jsp.tagext.TagSupport

        doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BeanValueTag

        public BeanValueTag()
    • Method Detail

      • setName

        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 initial get 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 is False.
        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 is False.
        Parameters:
        value - boolean indicating if the content to output should be javascript encoded or not.