ErrorMacro

This is a Velocity macro, bundled with all the XWiki products by default.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.

Error Macro

Displays an error message in a styled box format, with an error icon. Since XWiki Enterprise 2.0 Milestone 1 you should use Message Macro in xwiki/2.0 syntax.

Usage

#error($text)

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
textnoa stringnoneThe text message that will be displayed

Example

#error("This is an error message")

Result

Error: This is an error message

See also

Tags:
Created by LuisArias on 2007/04/08 11:05
Last modified by Thomas Mortagne on 2009/12/17 08:06

This wiki is licensed under a Creative Commons license
2.3.28624