NIHVIVO-1234 Removed separation of body and root maps in Freemarker controllers. Combine everything into one map, which includes the name of the body template also, to be invoked from the page template. Simplifies the logic considerably, in both controllers and templates, and allows the template author to dump the name of the body template rather than having to inspect the controller code.

This commit is contained in:
rjy7 2010-10-27 01:27:54 +00:00
parent a78210e137
commit 10c352dbf9
3 changed files with 9 additions and 2 deletions

View file

@ -82,7 +82,8 @@ ${headScripts.tags}
</ul>
</nav>
<div id="wrapper-content">
${body}
<#-- ${body} -->
<#include bodyTemplate>
</div>
<footer>
<div id="footer-content">