Hi Stefan,
stefan bachert wrote:
Hi,
for a glossar I would like to create documents for each letter automatically.
I tried to use
#set ($newDoc = $xwiki.createDocument())
However, the var $newDoc will not assigned
{{velocity}}
#set ($newDoc = $xwiki.createDocument())
$newDoc.class.getName()
{{/velocity}}
Displays
com.xpn.xwiki.api.Document
for me in XE 2.2RC2 and latest XE 2.3 snapshot.
Hope this helps,
Marius
What is wrong with that?
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