NIHVIVO-658 Handle body changing page title in FreeMarker controllers. Modifications to dump directives.
This commit is contained in:
parent
f77cf70224
commit
3527b1c948
5 changed files with 35 additions and 35 deletions
|
@ -2,21 +2,23 @@
|
|||
|
||||
<#-- FreeMarker test cases -->
|
||||
|
||||
<h2>Dates</h2>
|
||||
<h2>${title}</h2>
|
||||
|
||||
<h3>Dates</h3>
|
||||
<ul>
|
||||
<li>${now?datetime}</li>
|
||||
<li>${now?date}</li>
|
||||
<li>${now?time}</li>
|
||||
</ul>
|
||||
|
||||
<h2>Apples</h2>
|
||||
<h3>Apples</h3>
|
||||
<ul>
|
||||
<#list apples as apple>
|
||||
<li>${apple}</li>
|
||||
</#list>
|
||||
</ul>
|
||||
|
||||
<h2>Fruit</h2>
|
||||
<h3>Fruit</h3>
|
||||
<ul>
|
||||
<#list fruit as f>
|
||||
<li>${f}</li>
|
||||
|
@ -28,14 +30,14 @@
|
|||
<p><strong>Book Title:</strong> ${bookTitle}</p>
|
||||
|
||||
|
||||
<h2>Zoo 1</h2>
|
||||
<h3>Zoo 1</h3>
|
||||
<ul>
|
||||
<#list zoo1.animals as animal>
|
||||
<li>${animal}</li>
|
||||
</#list>
|
||||
</ul>
|
||||
|
||||
<h2>Zoo 2</h2>
|
||||
<h3>Zoo 2</h3>
|
||||
<ul>
|
||||
<#list zoo2.animals as animal>
|
||||
<li>${animal}</li>
|
||||
|
@ -47,3 +49,4 @@
|
|||
<@dump var="now" />
|
||||
<@dump var="urls" />
|
||||
<@dump var="fruit" />
|
||||
<@dumpDataModel />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue