Class ContextMenusTagHelper

    • Constructor Detail

      • ContextMenusTagHelper

        public ContextMenusTagHelper()
    • Method Detail

      • cleanState

        public void cleanState()
        Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.
        cleanState in class MstrPageTagHelper
      • getContentHead

        public MarkupOutput getContentHead()
        Obtains the contents to render based on the attributes defined (if existing).
        Specified by:
        getContentHead in class AbstractBodyTagHelper
        a MarkupOutput instance initialized with the contents to display
        Throws: - if an error happens while getting the contents to render.
      • isTagVisible

        public boolean isTagVisible()
        Indicates whether the tags is visible
        Specified by:
        isTagVisible in class AbstractBodyTagHelper
        a boolean indicating whether the tag should be displayed or not
      • shallRepeatTag

        public boolean shallRepeatTag()
        Indicates if the content of the tag should be analyzed and displayed again or not.
        Specified by:
        shallRepeatTag in class AbstractBodyTagHelper
        a boolean value indicating if the tag contents should be analyzed again or not.
      • setName

        public void setName​(java.lang.String value)
        Indicates the name of the context-menu in the page.
        This attributes helps the javascript code to identify the context menus within the page. It needs to be a unique identifier for the menus and a valid JavaScript variable name. If not specified, one will be automatically assigned.
        value - String value with the name for the context-menus.
      • setMenusName

        public void setMenusName​(java.lang.String value)
        Indicates the name of the menu in the page-config to be used for context-menus.
        The name needs to be a valid shortcut-list-set of the <menus> section in the page-config.
        value - String the name of menu.
      • setBaseBean

        public void setBaseBean​(java.lang.String value)
        Sets the value assigned to the baseBean attribute of the custom tag instance that uses this helper
        value - boolean indicating if the GUI Component is a container or not