public class MessageTag extends BodyTagSupport implements ParamContainerTag
bodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
MessageTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParam(java.lang.Object value)
Add a parameter value to the message.
|
int |
doEndTag()
Process the tag.
|
void |
setBundle(Expr bundle)
Sets the bundle.
|
void |
setKey(Expr key)
Sets the message key.
|
void |
setScope(java.lang.String scope)
Sets the scope.
|
void |
setVar(java.lang.String var)
Sets the variable.
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic void setKey(Expr key)
key - the JSP-EL expression for the key.public void setBundle(Expr bundle)
bundle - the JSP-EL expression for the bundle.public void setVar(java.lang.String var)
var - the variablepublic void setScope(java.lang.String scope)
scope - the scopepublic void addParam(java.lang.Object value)
addParam in interface ParamContainerTagpublic int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class TagSupportJspException