Both!
We need Option 2 definitely but internally it'll use the style macro.
As the user can also use the style macro he'll also be able to write
style:type=xxx
Just make sure you stay compatible with the format that currently
exists or if not please let us all know so that we can decide about
it and at the minimum write it in the release notes.
Thanks
-Vincent
On Jan 31, 2007, at 5:11 AM, phunghainam(a)xwiki.com wrote:
Hi all !
http://jira.xwiki.org/jira/browse/XWIKI-524
Now we're going to rewrite the info, warning, error and floatingbox
macros to make use of the style macro.
I'm proposing 2 choices:
Option 1 : we will use this syntax for info, warning, error and
floatingbox macros :
{style:type=warning}
This is the warning !!
{style}
{style:type=info}
This is the Info !!
{style}
{style:type=error}
This is the Error !!
{style}
{style:type=floatingbox }
This is the floatingbox !!
{style}
Option 2 :
{warning}
This is the warning with multiple lines !!
This is the warning with multiple lines !!
{warning}
{info}
This is the info with multiple lines !!
This is the info with multiple lines !!
{info}
......
which syntax should we use for xwiki ! I need your opinions about
this problem.
Thanks and best regards !
- Phung Nam.
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface
r�volutionnaire.
http://fr.mail.yahoo.com