|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.faces.taglib.LoadMessagesTag
Tag that exposes a specified MessageResources
instance
as Map
, so that the embedded messages may be retrieved via
value binding expressions.
Field Summary | |
private java.lang.String |
messages
The name of the MessageResources to expose, or
null for the default MessageResources
for this application module. |
private java.lang.String |
var
The request attribute key under which a Map
will be exposed. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
LoadMessagesTag()
|
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(java.lang.String messages)
|
void |
setVar(java.lang.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 |
Field Detail |
private java.lang.String messages
The name of the MessageResources
to expose, or
null
for the default MessageResources
for this application module.
private java.lang.String var
The request attribute key under which a Map
will be exposed.
Constructor Detail |
public LoadMessagesTag()
Method Detail |
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.
public void release()
Release any resources allocated by this tag instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |