30 Jan
2011
30 Jan
'11
9:07 p.m.
I am trying to use getTOC, but unfortunately, my example always returns zero ... {{velocity}} #set($d=$xwiki.getDocument('Sandbox.WebHome')) #set($tree=$d.getTOC(0,3,false)) $tree.size() #foreach($key in $tree.entrySet()) * $key.value.text #end {{/velocity}} Can somebody help me with syntax? What's I doing wrong? Thanks beforehand! Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/Using-getTOC-function-tp5975427p5975427.ht... Sent from the XWiki- Users mailing list archive at Nabble.com.