##
#macro (renderPage $title)
#set($globalHelper = $action.getGlobalHelper())
#set($renderer = $globalHelper.getWikiStyleRenderer())
#foreach ($child in $page.space.pages)
#if ($child.title.equals($title))
#set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim())
$content
#end
#end
#end
##
#macro (renderMenuPage $title)
#set($globalHelper = $action.getGlobalHelper())
#set($renderer = $globalHelper.getWikiStyleRenderer())
#foreach ($child in $page.space.pages)
#if ($child.title.equals($title))
#set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim())
#set ($content = $content.replaceAll("
([^<]*\\S)(\\s*)"))
$content
#end
#end
#end
##
Apache ServiceMix, the Agile Open Source ESB -- $page.title