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, getComponentfindString, findValue, findValue, getBody, getStack, toStringdoAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValueprotected 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.TagSupportpublic String getId()
getId in class javax.servlet.jsp.tagext.TagSupportprotected void populateParams()
populateParams in class org.apache.struts2.views.jsp.ComponentTagSupportpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class org.apache.struts2.views.jsp.ComponentTagSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.BodyTagSupportprotected 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–2022 Apache Software Foundation. All rights reserved.