Class BeanValueTagHelper

    • Constructor Detail

      • BeanValueTagHelper

        public BeanValueTagHelper()
    • 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 class MstrPageTagHelper
      • getContent

        public MarkupOutput getContent()
                                throws java.io.IOException
        Obtains the contents to render based on the attributes defined (if existing).
        Specified by:
        getContent in class AbstractNoBodyTagHelper
        Returns:
        a MarkupOutput instance initialized with the contents to display
        Throws:
        java.io.IOException - if an error happens while getting the contents to render.
      • setProperty

        public void setProperty​(java.lang.String value)
        Sets the value assigned to the property attribute of the custom tag instance.
        Parameters:
        value - String indicating the property to ask for
      • setName

        public void setName​(java.lang.String value)
        Sets the value assigned to the name attribute of the custom tag instance.
        Parameters:
        value - String indicating the name of the bean from where the property will be read
      • setEncode

        public void setEncode​(boolean value)
        Sets the value assigned to the encode attribute of the custom tag instance.
        Parameters:
        value - boolean indicating if the content to display should be HTML encoded
      • setJsEncode

        public void setJsEncode​(boolean value)
        Sets the value assigned to the jsEncode attribute of the custom tag instance.
        Parameters:
        value - boolean indicating if the content to display should be javascript encoded