public class MessageTag extends BodyTagSupport implements ParamContainerTag
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_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, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public 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 ParamContainerTag
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException