Wiki source code of Duncan Result

Version 2.3 by Alexandru Colesnicov on 2018/11/04 20:20

Show last authors
1 {{velocity}}
2 #set($class="Duncan1.Code.GDataClass")
3 #set($template="Duncan1.Code.GDataTemplate")
4 #set($xwlquery="from doc.object($class) as obj where doc.fullName <> '$template' order by doc.date desc")
5 #set($list=$services.query.xwql($xwlquery).execute())
6 #set($totalF=0)
7 #foreach($item in $list)
8 #set($itemdoc = $xwiki.getDocument($item))
9 ###$itemdoc.getName()
10 $itemdoc.get('Profession')
11 $itemdoc.getValue('QuaWoman')
12 $itemdoc.getValue('QuaMan')
13 #end
14 {{/velocity}}