NIHVIVO-1564 In dump of template model objects, hide methods that take arguments unless the BeansWrapper exposure level exposes these methods to the template.
This commit is contained in:
parent
97e6630eb7
commit
af7d959ecd
5 changed files with 69 additions and 37 deletions
|
@ -1,8 +1,10 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template for dumping a template model object -->
|
||||
<#-- Template for dumping the value template model object -->
|
||||
|
||||
|
||||
<#if properties?has_content>
|
||||
<p><strong>Property values</strong></p>
|
||||
<ul>
|
||||
<#list properties?keys as property>
|
||||
<li>${property}: ${properties[property]?html}</li>
|
||||
|
@ -11,9 +13,13 @@
|
|||
</#if>
|
||||
|
||||
<#if methods?has_content>
|
||||
<p><strong>Methods</strong></p>
|
||||
<ul>
|
||||
<#list methods as method>
|
||||
<li>${method}</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -3,3 +3,7 @@
|
|||
<#-- FreeMarker test cases -->
|
||||
|
||||
<h2>${title}</h2>
|
||||
|
||||
<@dumpAll />
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue