xhtml.append("</body>").append("\n");
xhtml.append("</html>");
}
catch (TemplateControlException ex)
{
throw new PageRenderException(ex.getMessage(), ex);
}
catch (MenuProviderException ex)
{
throw new PageRenderException(ex.getMessage(), ex);
}
return xhtml.toString();
}