I tryed this query but the velocity macro fail... Any idea?

{{velocity}}

#set($hql = $xwiki.search("select wod.XWO_ID from XWikiObjects as wod where
wod.XWO_NUMBER = (Select MAX(XWO_NUMBER) from XWIKIOBJECTS as wo where
XWO_NAME = 'XWiki.TestGroup'")))

#foreach ($item in $hql )
 * $item
#end

I tought get the last Group_ID and use it after to obtain users who created
documents.


{{/velocity}}
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Stats-Application-tp4973836p4974565.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to