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>"

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.
« This page (revision-1) was last changed on 11-Aug-2006 22:50 by null  
G’day (anonymous guest) My Prefs
This is the left menu footer
JSPWiki v2.8.3-svn-4