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(String messages) |
void |
setVar(String var) |
public void setMessages(String messages)
public void setVar(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.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
public void release()
Release any resources allocated by this tag instance.
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
Copyright © 2000–2016 Apache Software Foundation. All rights reserved.