Class MenuTag

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class MenuTag
    extends IncludeTag
    See Also:
    Serialized Form
    • Field Detail

      • MENU_RESOURCE_ATTR

        public static final java.lang.String MENU_RESOURCE_ATTR
        See Also:
        Constant Field Values
      • SUBMENU_RESOURCE_ATTR

        public static final java.lang.String SUBMENU_RESOURCE_ATTR
        See Also:
        Constant Field Values
      • MENUITEM_RESOURCE_ATTR

        public static final java.lang.String MENUITEM_RESOURCE_ATTR
        See Also:
        Constant Field Values
    • Constructor Detail

      • MenuTag

        public MenuTag()
    • Method Detail

      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class IncludeTag
        Throws:
        javax.servlet.jsp.JspException
      • include

        protected void include​(java.lang.String body)
        Overrides:
        include in class IncludeTag
      • setContext

        public void setContext​(java.util.Map<java.lang.String,​java.lang.Object> map,
                               java.lang.String body)
        Overrides:
        setContext in class IncludeTag
      • getId

        public java.lang.String getId()
        Overrides:
        getId in class IncludeTag
      • setId

        public void setId​(java.lang.String id)
        Overrides:
        setId in class IncludeTag
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getCss

        public java.lang.String getCss()
      • setCss

        public void setCss​(java.lang.String css)
      • getMenuResource

        public java.lang.String getMenuResource()
      • setMenuResource

        public void setMenuResource​(java.lang.String menuResource)
      • getMaxDepthLevel

        public int getMaxDepthLevel()
      • setMaxDepthLevel

        public void setMaxDepthLevel​(int maxDepthLevel)
      • getMenuInfo

        public MenuInfo getMenuInfo()
      • setMenuInfo

        public void setMenuInfo​(MenuInfo menuInfo)
      • isDisplayMenuInfoRoot

        public boolean isDisplayMenuInfoRoot()
      • setDisplayMenuInfoRoot

        public void setDisplayMenuInfoRoot​(boolean displayMenuInfoRoot)
      • setIncludeObject

        public static void setIncludeObject​(javax.servlet.ServletRequest request,
                                            java.lang.String name,
                                            java.lang.Object value)
      • getIncludeObject

        public static java.lang.Object getIncludeObject​(javax.servlet.ServletRequest request,
                                                        java.lang.String name,
                                                        java.lang.Object def)