#set($rootcategory = $mediaarchive.getData("pdfbookmark", "index")) #set($children = $rootcategory.children)
#macro(showtree $categories) #foreach($cat in $categories)
  •   $cat.pagenumber - $cat.name #if($cat.hasChildren()) #end
  • #end #end