public abstract class EmpireTagSupport
extends org.apache.struts2.views.jsp.ComponentTagSupport
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoResetParams |
protected String |
cssClass |
protected String |
cssStyle |
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
EmpireTagSupport() |
Modifier and Type | Method and Description |
---|---|
protected void |
addStandardAttributes(HtmlWriter.HtmlTag tag,
String defaultClass) |
protected String |
checkAction(String action) |
int |
doEndTag() |
protected Object |
getAction() |
protected String |
getActionItemPropertyName() |
protected String |
getActionName() |
protected String |
getActionURL(String action,
Map parameters) |
protected Object |
getAttribute(String attribute) |
protected Object |
getBeanProperty(Object bean,
String property) |
protected boolean |
getBoolean(Object value,
boolean defValue) |
String |
getId() |
protected int |
getInt(Object value,
int defValue) |
protected Locale |
getLocale(Object action) |
protected Object |
getObject(Object value,
Object defValue) |
protected Object |
getObject(Object value,
Object defValue,
Class<?> asType) |
protected Object |
getPageAttribute(String name,
Object defValue) |
protected String |
getPageName() |
protected String |
getString(Object value) |
protected String |
getString(Object value,
Object defValue) |
protected String |
getString(Object value,
String defValue) |
protected String |
getTranslation(String text) |
protected String |
getTranslationFromKey(String key) |
protected void |
populateParams() |
protected Object |
putPageAttribute(String name,
Object value) |
void |
release() |
protected void |
removePageAttribute(String name,
Object oldValue) |
protected void |
resetParams() |
void |
setCssClass(String cssClass) |
void |
setCssStyle(String cssStyle) |
void |
setId(String id) |
protected String |
str(String value,
String defValue) |
doStartTag, getBean, getComponent
findString, findValue, findValue, getBody, getStack, toString
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
protected static org.slf4j.Logger log
protected boolean autoResetParams
protected String cssClass
protected String cssStyle
protected void resetParams()
public final void setCssClass(String cssClass)
public final void setCssStyle(String cssStyle)
public final void setId(String id)
setId
in class javax.servlet.jsp.tagext.TagSupport
public String getId()
getId
in class javax.servlet.jsp.tagext.TagSupport
protected void populateParams()
populateParams
in class org.apache.struts2.views.jsp.ComponentTagSupport
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class org.apache.struts2.views.jsp.ComponentTagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
protected void addStandardAttributes(HtmlWriter.HtmlTag tag, String defaultClass)
protected Object getAction()
protected String getActionName()
protected String getActionItemPropertyName()
protected int getInt(Object value, int defValue)
protected boolean getBoolean(Object value, boolean defValue)
protected String getPageName()
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.