|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport org.apache.struts.taglib.bean.MessageTag org.apache.strutsel.taglib.bean.ELMessageTag
public class ELMessageTag
Custom tag that retrieves an internationalized messages string (with
optional parametric replacement) from the ActionResources
object stored as a context attribute by our associated
ActionServlet
implementation.
This class is a subclass of
the class org.apache.struts.taglib.bean.MessageTag
which
provides most of the described functionality. This subclass allows all
attribute values to be specified as expressions utilizing the JavaServer
Pages Standard Library expression language.
Field Summary |
---|
Fields inherited from class org.apache.struts.taglib.bean.MessageTag |
---|
arg0, arg1, arg2, arg3, arg4, bundle, key, localeKey, messages, name, property, scope |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 | |
---|---|
ELMessageTag()
|
Method Summary | |
---|---|
int |
doStartTag()
Process the start tag. |
String |
getArg0Expr()
Getter method for "arg0" tag attribute. |
String |
getArg1Expr()
Getter method for "arg1" tag attribute. |
String |
getArg2Expr()
Getter method for "arg2" tag attribute. |
String |
getArg3Expr()
Getter method for "arg3" tag attribute. |
String |
getArg4Expr()
Getter method for "arg4" tag attribute. |
String |
getBundleExpr()
Getter method for "bundle" tag attribute. |
String |
getKeyExpr()
Getter method for "key" tag attribute. |
String |
getLocaleExpr()
Getter method for "locale" tag attribute. |
String |
getNameExpr()
Getter method for "name" tag attribute. |
String |
getPropertyExpr()
Getter method for "property" tag attribute. |
String |
getScopeExpr()
Getter method for "scope" tag attribute. |
void |
release()
Resets attribute values for tag reuse. |
void |
setArg0Expr(String arg0Expr)
Setter method for "arg0" tag attribute. |
void |
setArg1Expr(String arg1Expr)
Setter method for "arg1" tag attribute. |
void |
setArg2Expr(String arg2Expr)
Setter method for "arg2" tag attribute. |
void |
setArg3Expr(String arg3Expr)
Setter method for "arg3" tag attribute. |
void |
setArg4Expr(String arg4Expr)
Setter method for "arg4" tag attribute. |
void |
setBundleExpr(String bundleExpr)
Setter method for "bundle" tag attribute. |
void |
setKeyExpr(String keyExpr)
Setter method for "key" tag attribute. |
void |
setLocaleExpr(String localeExpr)
Setter method for "locale" tag attribute. |
void |
setNameExpr(String nameExpr)
Setter method for "name" tag attribute. |
void |
setPropertyExpr(String propertyExpr)
Setter method for "property" tag attribute. |
void |
setScopeExpr(String scopeExpr)
Setter method for "scope" tag attribute. |
Methods inherited from class org.apache.struts.taglib.bean.MessageTag |
---|
getArg0, getArg1, getArg2, getArg3, getArg4, getBundle, getKey, getLocale, getName, getProperty, getScope, setArg0, setArg1, setArg2, setArg3, setArg4, setBundle, setKey, setLocale, setName, setProperty, setScope |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ELMessageTag()
Method Detail |
---|
public String getArg0Expr()
public String getArg1Expr()
public String getArg2Expr()
public String getArg3Expr()
public String getArg4Expr()
public String getBundleExpr()
public String getKeyExpr()
public String getLocaleExpr()
public String getNameExpr()
public String getPropertyExpr()
public String getScopeExpr()
public void setArg0Expr(String arg0Expr)
public void setArg1Expr(String arg1Expr)
public void setArg2Expr(String arg2Expr)
public void setArg3Expr(String arg3Expr)
public void setArg4Expr(String arg4Expr)
public void setBundleExpr(String bundleExpr)
public void setKeyExpr(String keyExpr)
public void setLocaleExpr(String localeExpr)
public void setNameExpr(String nameExpr)
public void setPropertyExpr(String propertyExpr)
public void setScopeExpr(String scopeExpr)
public void release()
release
in interface Tag
release
in class MessageTag
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class MessageTag
JspException
- if a JSP exception has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |