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 <guillaume(a)xwiki.com>
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
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users