org.apache.struts.faces.taglib
Class LoadMessagesTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.struts.faces.taglib.LoadMessagesTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class LoadMessagesTag
- extends TagSupport
Tag that exposes a specified MessageResources
instance
as Map
, so that the embedded messages may be retrieved via
value binding expressions.
- See Also:
- Serialized Form
Method Summary |
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)
|
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadMessagesTag
public LoadMessagesTag()
setMessages
public void setMessages(String messages)
setVar
public void setVar(String var)
doStartTag
public int doStartTag()
Expose a Map
wrapping the specified
MessageResources
instance, for the Locale
specified in the view root component of the current view.
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class TagSupport
release
public void release()
Release any resources allocated by this tag instance.
- Specified by:
release
in interface Tag
- Overrides:
release
in class TagSupport
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.