## #set ($siteTitle = "Apache Geronimo XBean") #set ($quickLinksPage = "Quick Links") #set ($sideNavPagePrefix = "SideNav") #set ($images = "http://geronimo.apache.org/images") #set ($homeUri = "http://geronimo.apache.org/xbean") #set ($pageContentHeaderEnabled = false) ## #macro (sideNavSections) #sideNavSection("Overview") #sideNavSection("Features") #sideNavSection("Related Projects") #sideNavSection("Support") #sideNavSection("Community") #sideNavSection("Developers") #end ## #macro (spacer $width $height) #end ## #macro (renderPage $title) #set($globalHelper = $action.getGlobalHelper()) #set($renderer = $globalHelper.getWikiStyleRenderer()) ## ## FIXME: Must be a more efficient 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)
#end ## #macro (tabs)
#pageControls()
#end ## #macro (breadCrumbs)
 $autoexport.breadcrumbs($page)
#end ## #macro (sideNav)
#sideNavSections()
#end ## #macro (sideNavSection $title) #set ($pagename = "$sideNavPagePrefix $title")
  $title
  #renderPage($pagename)
#spacer(175 2) #end ## #macro (pageContent)
#if ($pageContentHeaderEnabled) #end
$body
#end ## #macro (footer)
#end ## ## Google Webmaster Tools verification marker $siteTitle : $page.title #topNav() #tabs() #breadCrumbs()
#sideNav() #pageContent()
#footer()