Fixes to variable dump.

This commit is contained in:
rjy7 2010-11-18 23:30:35 +00:00
parent 9bd79b636d
commit ca76cfa4bd
5 changed files with 40 additions and 27 deletions

View file

@ -3,14 +3,12 @@
<#-- Template for dumping a template variable -->
<div class="var">
<h6>Variable name: <em>${var}</em></h6>
<p><strong>Variable name: <em>${var}</em></strong></p>
<#if value??>
<strong>Type:</strong> ${type}<br />
<strong>Value:</strong> ${value}<br />
<p><strong>Value:</strong> ${value}</p>
<p><strong>Type:</strong> ${type}</p>
<#else>
Variable is undefined in the data model
</#if>
<p>Variable is undefined in the data model</p>
</#if>
</div>

View file

@ -51,6 +51,7 @@
<@dump var="fruit" />
<@dump var="trueStatement" />
<@dump var="zoo1" />
<@dump var="pojo" />
${stylesheets.addFromTheme("/css/sstest.css", "/css/sstest2.css")}
${scripts.addFromTheme("/js/jstest.js")}