##
#set ($images = "http://people.apache.org/~dwoods/bval/images")
#set ($resources = "http://people.apache.org/~dwoods/bval/resources")
#set ($siteroot = "http://incubator.apache.org/bval")
##
#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 Bean Validation (incubating) -- $page.title