## #set ($images = "http://geronimo.apache.org/images") #set ($siteroot = "http://cwiki.apache.org/GMOxSITE") #set ($pageContentHeaderEnabled = false) ## #macro (spacer $width $height) #end ## #macro (renderPage $title) #set($globalHelper = $action.getGlobalHelper()) #set($renderer = $globalHelper.getWikiStyleRenderer()) ## ## FIXME: Must be a more efficent way to find a page... ## #foreach ($child in $page.space.pages) #if ($child.title.equals($title)) #set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim()) ## ## HACK: Remove the leading

and trailing

## #set ($content = $content.substring(3, $content.length())) #set ($end = $content.length() - 4) #set ($content = $content.substring(0, $end)) $content #end #end #end ## #macro (topNav)
 
#end ## #macro (pageControls)
  ### ### HACK: AutoExport does something crazy to this URL... so split it up into bits and write with Javascript ### to force the correct values to be rendererd ###  
#end ## #macro (tabs)
#pageControls()
#end ## #macro (breadCrumbs)
 $autoexport.breadcrumbs($page)
#end ## #macro (sideNavSection $title) #set ($pagename = "SideNav $title")
  $title
  #renderPage($pagename)
#spacer(175 2) #end ## #macro (sideNav) #sideNavSection("Quick Links") #sideNavSection("Community") #sideNavSection("Development") #sideNavSection("Subprojects") #end ## #macro (pageContent)
#if ($pageContentHeaderEnabled) #end
$body
#end ## #macro (footer) #end ## $page.title :: Apache Geronimo #topNav() #tabs() #breadCrumbs()
#sideNav() #pageContent()
#footer()