public class MenuTag extends EmpireTagSupport
Modifier and Type | Class and Description |
---|---|
static class |
MenuTag.MenuInfo |
Modifier and Type | Field and Description |
---|---|
protected String |
actionItem |
protected String |
currentClass |
protected String |
currentItem |
protected String |
disabledClass |
protected String |
enabledClass |
protected String |
expandedClass |
static String |
MENU_STACK_ATTRIBUTE |
autoResetParams, cssClass, cssStyle, log
Constructor and Description |
---|
MenuTag() |
Modifier and Type | Method and Description |
---|---|
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) |
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
findString, findValue, findValue, getBody, getStack, toString
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
public static final String MENU_STACK_ATTRIBUTE
protected String currentItem
protected String currentClass
protected String enabledClass
protected String disabledClass
protected String expandedClass
protected String actionItem
protected void resetParams()
resetParams
in class EmpireTagSupport
public org.apache.struts2.components.Component getBean(com.opensymphony.xwork2.util.ValueStack arg0, javax.servlet.http.HttpServletRequest arg1, javax.servlet.http.HttpServletResponse arg2)
getBean
in class org.apache.struts2.views.jsp.ComponentTagSupport
protected void populateParams()
populateParams
in class EmpireTagSupport
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class org.apache.struts2.views.jsp.ComponentTagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class EmpireTagSupport
javax.servlet.jsp.JspException
public void setCurrentItem(String currentId)
public void setCurrentClass(String currentClass)
public void setDisabledClass(String disabledClass)
public void setExpandedClass(String expandedClass)
public void setEnabledClass(String enabledClass)
public void setActionItem(String actionItem)
Copyright © 2008–2017 Apache Software Foundation. All rights reserved.