Returns or clears the current messages associated with the user's wiki session.
Usage#
<wiki:Include action="<action>" prefix="<prefix> topic="<topic>" div="<div>" />
Parameters#
- action
- if "clear", the messages will be cleared
- otherwise, this tag will always print the set of current messages as either a single <p> tag (one message) or a bulleted list (multiple messages)
- prefix
- the string to prepend to the list of errors (if there are any)
- default is an empty string
- topic
- a collection for messages
- example: those associated witha particular web
- if not supplied, defaults to a generic (non-specific) collection
- div
- the div class to wrap the messages in
- if not supplied, information is assumed
Example#
<wiki:Messages div="error" topic="profile" prefix="Could not save profile: "/>
Returns the error message: "Could not save profile: <profile name>"
. Use this wiki only for improving the documentation.