Class PageStateTagHelper

    • Constructor Detail

      • PageStateTagHelper

        public PageStateTagHelper()
    • 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 any attributes that are 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.
      • setAttribute

        public void setAttribute​(java.lang.String value)
        Sets the value assigned to the attribute attribute of the custom tag instance that uses this helper
        Parameters:
        value - String with the name of the JavaScript variable where to assign the page state value.
      • setStateLevel

        public void setStateLevel​(int value)
        Sets the value assigned to the stateLevel attribute of the custom tag instance that uses this helper
        Parameters:
        value - int indicating the level of state to record for each bean, according to the EnumWebPersistableState enumeration.