org.apache.empire.struts2.jsp.tags
Class MenuTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.struts2.views.jsp.StrutsBodyTagSupport
              extended by org.apache.struts2.views.jsp.ComponentTagSupport
                  extended by org.apache.empire.struts2.jsp.tags.EmpireTagSupport
                      extended by org.apache.empire.struts2.jsp.tags.MenuTag
All Implemented Interfaces:
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 EmpireTagSupport

See Also:
Serialized Form

Nested Class Summary
static class MenuTag.MenuInfo
           
 
Field Summary
protected  String actionItem
           
protected  String currentClass
           
protected  String currentItem
           
protected  String disabledClass
           
protected  String enabledClass
           
protected  String expandedClass
           
static String MENU_STACK_ATTRIBUTE
           
 
Fields inherited from class org.apache.empire.struts2.jsp.tags.EmpireTagSupport
autoResetParams, cssClass, cssStyle, log
 
Fields inherited from class org.apache.struts2.views.jsp.ComponentTagSupport
component
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
MenuTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 org.apache.struts2.components.Component getBean(com.opensymphony.xwork2.util.ValueStack arg0, javax.servlet.http.HttpServletRequest arg1, javax.servlet.http.HttpServletResponse arg2)
           
protected  void populateParams()
           
protected  void resetParams()
           
 void setActionItem(String actionItem)
           
 void setCurrentClass(String currentClass)
           
 void setCurrentItem(String currentId)
           
 void setDisabledClass(String disabledClass)
           
 void setEnabledClass(String enabledClass)
           
 void setExpandedClass(String expandedClass)
           
 
Methods inherited from class org.apache.empire.struts2.jsp.tags.EmpireTagSupport
addStandardAttributes, checkAction, getAction, getActionItemPropertyName, getActionName, getActionURL, getAttribute, getBeanProperty, getBoolean, getId, getInt, getLocale, getObject, getObject, getPageAttribute, getPageName, getString, getString, getString, getTranslation, getTranslationFromKey, putPageAttribute, release, removePageAttribute, setCssClass, setCssStyle, setId, str
 
Methods inherited from class org.apache.struts2.views.jsp.ComponentTagSupport
getComponent
 
Methods inherited from class org.apache.struts2.views.jsp.StrutsBodyTagSupport
findString, findValue, findValue, getBody, getStack, toString
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

MENU_STACK_ATTRIBUTE

public static final String MENU_STACK_ATTRIBUTE
See Also:
Constant Field Values

currentItem

protected String currentItem

currentClass

protected String currentClass

enabledClass

protected String enabledClass

disabledClass

protected String disabledClass

expandedClass

protected String expandedClass

actionItem

protected String actionItem
Constructor Detail

MenuTag

public MenuTag()
Method Detail

resetParams

protected void resetParams()
Overrides:
resetParams in class EmpireTagSupport

getBean

public org.apache.struts2.components.Component getBean(com.opensymphony.xwork2.util.ValueStack arg0,
                                                       javax.servlet.http.HttpServletRequest arg1,
                                                       javax.servlet.http.HttpServletResponse arg2)
Specified by:
getBean in class org.apache.struts2.views.jsp.ComponentTagSupport

populateParams

protected void populateParams()
Overrides:
populateParams in class EmpireTagSupport

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class org.apache.struts2.views.jsp.ComponentTagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class EmpireTagSupport
Throws:
javax.servlet.jsp.JspException

setCurrentItem

public void setCurrentItem(String currentId)

setCurrentClass

public void setCurrentClass(String currentClass)

setDisabledClass

public void setDisabledClass(String disabledClass)

setExpandedClass

public void setExpandedClass(String expandedClass)

setEnabledClass

public void setEnabledClass(String enabledClass)

setActionItem

public void setActionItem(String actionItem)


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.