#if ( $page.title.equals("Index") ) #set ($heading_title = "Welcome to Apache MINA Project!") #else #set ($heading_title = $page.title) #end ## #macro (renderPage $title) #set($globalHelper = $action.getGlobalHelper()) #set($renderer = $globalHelper.getWikiStyleRenderer()) #foreach ($child in $page.space.pages) #if ( ($child.title.equals($title)) && ( $child.contentStatus.equals("current") ) ) #set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim()) #set ($content = $content.replaceAll("^<[pP]>|$", "") ) ##set ($content = $content.substring(3, $content.length())) ##set ($end = $content.length() - 4) ##set ($content = $content.substring(0, $end)) $content #end #end #end ## Apache MINA - $page.title
#renderPage("Navigation")

$heading_title

$body
#if ($page.hasChildren())
#set ($children = $page.children)
    #foreach ($child in $children)
  • $autoexport.link($child)
  • #end
#end
#editReport()