#import(nl.lumc.sasc.biopet.core.summary.Summary) #import(nl.lumc.sasc.biopet.core.report.ReportPage) <%@ var summary: Summary %> <%@ var indexPage: ReportPage %> <%@ var reportName: String %> <%@ var page: ReportPage %> <%@ var path: List[String] %> <%@ var args: Map[String, Any] %> #{ val rootPath = "./" + Array.fill(path.size)("../").mkString("") def createMenu(page: ReportPage, path: List[String] = Nil): String = { val buffer: StringBuffer = new StringBuffer() buffer.append("") buffer.toString } def getSubPage(path:List[String]): ReportPage = { path.foldLeft(indexPage)(_.subPages(_)) } }#

${reportName}