public class MessagesTag extends WikiTagBase
action -
if "clear", the messsages will be cleared. Otherwise, this tag will always
print the set of current messages as either a single <p> tag (if there
is only one message) or a bulleted list (if there is more than one).prefix - the string to prepend to the list of errors, if
there are any; default is empty stringtopic - a
collection for messages, for example those associated with a particular web
form. If not suppled, defaults to a generic (non-specific) collectiondiv - the div class to wrap the
messages in; if not supplied, information is assumedm_wikiContext| Constructor and Description |
|---|
MessagesTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
void |
initTag()
This method is called when the tag is encountered within a new request, but before the setXXX() methods are called.
|
void |
setAction(java.lang.String action) |
void |
setDiv(java.lang.String div) |
void |
setPrefix(java.lang.String prefix) |
void |
setTopic(java.lang.String topic) |
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContextpublic MessagesTag()
public void initTag()
WikiTagBaseinitTag in class WikiTagBasepublic void setTopic(java.lang.String topic)
public void setPrefix(java.lang.String prefix)
public void setDiv(java.lang.String div)
public void setAction(java.lang.String action)
public final int doWikiStartTag() throws java.io.IOException
WikiTagBasedoWikiStartTag in class WikiTagBasejava.io.IOExceptionCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.