Stefan,
When you want to duplicate one macro over several pages. For example, if you look closely
at the document index page source, it's actually including three different types of
tables: tableview, treeview, etc. I believe you can implement dynamic ajax indexes using
the include macro, just like the document index livetable, but you'll have to look
more into that. Basically, having three separate self defined instances of those tables
would create a lot of clutter, but using the include macro may remove much of that.
The include method is a great scripting technique and way to remove clutter, thus
improving usability and allowing easier code upgrades.
Felix
----- Original Message ----
From: stefan bachert <stefanbachert(a)yahoo.de>
To: users(a)xwiki.org
Sent: Tue, February 23, 2010 2:23:39 PM
Subject: [xwiki-users] self defined macros OR include
Hi,
in generell self defined are more flexible than to use an {{include}}
Are there circumstances were {{include}} offers advantages?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen
Massenmails.
http://mail.yahoo.com
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users