#set( $attachmentroot = "$apphome/views/modules/asset/editor/attachments" ) $context.putPageValue("attachmentroot",$attachmentroot) #set( $path = "/WEB-INF/data/$catalogid/originals/$asset.sourcepath/" ) #macro(showattachments $parentfolder $depth) #set ( $depth = $depth + 1) #set ( $paddinginit = $padding ) #set ( $padding = (15 * $depth) ) #set( $files = $attachmentManager.listChildren($context, $mediaarchive, $parentfolder ) ) #foreach($file in $files) #set( $filesource = "${file.parentsourcepath}/${file.name}")