VIVO-11 Add delimiters to Freemarker templates

If enabled by an option in runtime.properties
This commit is contained in:
j2blake 2013-01-25 16:29:30 -05:00
parent a3bd67097b
commit 3b051ecffd
3 changed files with 45 additions and 0 deletions

View file

@ -788,6 +788,24 @@
</td> </td>
</tr> </tr>
<tr>
<td colspan="2">
<b>For developers only.</b>
Add starting and ending delimiters to each Freemarker template, so you can see
which template were invoked by viewing the generated HTML.
The default is <code>false</code>.
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
</td>
</tr>
<tr class="odd_row">
<td>
developer.insertFreemarkerDelimiters = true
</td>
<td>
false
</td>
</tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
These values are used when deploying VIVO as an OpenSocial container These values are used when deploying VIVO as an OpenSocial container

View file

@ -332,6 +332,24 @@
</td> </td>
</tr> </tr>
<tr>
<td colspan="2">
<b>For developers only.</b>
Add starting and ending delimiters to each Freemarker template, so you can see
which template were invoked by viewing the generated HTML.
The default is <code>false</code>.
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
</td>
</tr>
<tr class="odd_row blue">
<td>
developer.insertFreemarkerDelimiters = true
</td>
<td>
false
</td>
</tr>
</tbody> </tbody>
</table> </table>

View file

@ -201,6 +201,15 @@ RDFService.languageFilter = true
# #
# developer.defeatI18nCache = true # developer.defeatI18nCache = true
#
# For developers only: Setting this option to "true" slows down VIVO performance.
#
# Add starting and ending delimiters to each Freemarker template, so you can see
# which template were invoked by viewing the generated HTML. The default is
# <code>false</code>.
#
# developer.insertFreemarkerDelimiters = true
# #
# For OpenSocial integration # For OpenSocial integration
# The base URL of the ORNG Shindig server. Usually, this is the same host and port # The base URL of the ORNG Shindig server. Usually, this is the same host and port