public class MessageTag extends MessageSupport
A handler for <message> that accepts attributes as Strings and evaluates them as expressions at runtime.
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
bundle_ |
private java.lang.String |
key_ |
bundleAttrValue, bundleSpecified, keyAttrValue, keySpecified, UNDEFINED_KEY| Constructor and Description |
|---|
MessageTag()
Constructs a new MessageTag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag() |
private void |
evaluateExpressions() |
private void |
init() |
void |
release() |
void |
setBundle(java.lang.String bundle_) |
void |
setKey(java.lang.String key_) |
addParam, doEndTag, setScope, setVardoAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic MessageTag()
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class MessageSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class MessageSupportpublic void setKey(java.lang.String key_)
public void setBundle(java.lang.String bundle_)
private void init()
private void evaluateExpressions()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException