Issue Details (XML | Word | Printable)

Key: XWIKI-661
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Marta Girdea
Reporter: Marta Girdea
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XWiki Core

Add macros for simple notice messages

Created: 03/Jan/07 03:24   Updated: 06/Jan/07 03:44
Component/s: Scripting - Velocity, Wiki features
Affects Version/s: None
Fix Version/s: 1.0 B2

Date of First Response: 03/Jan/07 09:03
Resolution Date: 03/Jan/07 03:26


 Description  « Hide
Add a few velocity macros that output info/warning/error messages, like:
#infomessage("This is some useful information")
#warningmessage("Careful not to break something")
#errormessage("You did something terrible")


 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Marta Girdea added a comment - 03/Jan/07 03:26
Fixed in revision 1852.

Vincent Massol added a comment - 03/Jan/07 09:03
This is very useful. What about simplifying the macro names: #info, #warning and #error?

Thanks
-Vincent


Vincent Massol added a comment - 03/Jan/07 09:04
A future improvement would be to add an icon in the top left corner of the notice box.

Vincent Massol added a comment - 03/Jan/07 09:13

A future improvement would be to add an icon in the top left corner of the notice box.

oops.. Seems you did that!

Thanks


Sergiu Dumitriu added a comment - 06/Jan/07 03:44
Renamed, #info, #warning and #error, in rev. 1889