Error Macro
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.
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
| Name | Optional | Allowed values | Default value | Description |
|---|---|---|---|---|
| text | no | a string | none | The text message that will be displayed |
Example
#error("This is an error message")