Look into your xwiki folder : xwiki enterprise > webapps > xwiki > templates . All the vm files are stored there, dig them to see how XWiki's interface is built :-) Guillaume On Fri, Apr 11, 2008 at 3:43 PM, Fabien <[email protected]> wrote:
Super it works ! Thanks.
I definitively need to learn velocity existing macros. If you have an up-to-date URL for that, feel free to send !
On Fri, Apr 11, 2008 at 3:27 PM, Guillaume Lerouge <[email protected]> wrote:
Hi Fabien, my bad : you've done everything right, I simply confused taginline.vm with tagedit.vm. You need to use tagedit.vm , sorry :-)
#if($obj == "")
#warning("This is not an article!") #elseif($context.action!="inline") .... snipped ..... #else <dl> <dt>Title:</dt> <dd>$doc.display("title", "edit", $obj)</dd> <dt>Category:</dt> <dd>$doc.display("category", "edit", $obj)</dd> <dt>Content:</dt> <dd>$doc.display("content", "edit", $obj)</dd> <dt>Extract:</dt> <dd>$doc.display("extract", "edit", $obj)</dd> #template('tagedit.vm') </dl> #end
Actually you don't even need the <dt>Tag</dt> , it's already included in the template file.
Guillaume _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users