Modify default FreeMarker bean wrapper so template data is read-only. Use different bean wrapper for script and stylesheet objects. Added methods to IndividualView class.
This commit is contained in:
parent
b27617696f
commit
4c3259163b
5 changed files with 66 additions and 18 deletions
|
@ -55,6 +55,4 @@
|
|||
|
||||
</div>
|
||||
|
||||
<#-- RY This is temporary.
|
||||
<script src="${contextPath}/js/commentForm.js"></script>-->
|
||||
${scripts.add("/js/commentForm.js")}
|
||||
${scripts.add("/js/commentForm.js")}
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<@l.firstLastList>
|
||||
<li>${individual.tagline}</li>,
|
||||
<#list individual.links as link>
|
||||
${link.setAnchor("Changing Anchor Text")}
|
||||
<li><a class="externalLink" href="${link.url}">${link.anchor}</a></li>,
|
||||
</#list>
|
||||
</@l.firstLastList>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue