public class LoadMessagesTag
extends javax.servlet.jsp.tagext.TagSupport
Tag that exposes a specified MessageResources instance
as Map, so that the embedded messages may be retrieved via
value binding expressions.
| Constructor and Description |
|---|
LoadMessagesTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Expose a
Map wrapping the specified
MessageResources instance, for the Locale
specified in the view root component of the current view. |
void |
release()
Release any resources allocated by this tag instance.
|
void |
setMessages(java.lang.String messages) |
void |
setVar(java.lang.String var) |
public void setMessages(java.lang.String messages)
public void setVar(java.lang.String var)
public int doStartTag()
Expose a Map wrapping the specified
MessageResources instance, for the Locale
specified in the view root component of the current view.
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportpublic void release()
Release any resources allocated by this tag instance.
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportCopyright © 2000–2024 Apache Software Foundation. All rights reserved.