From 3b051ecffde96d0b14ee91b6ddbcb69cb828b536 Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 25 Jan 2013 16:29:30 -0500 Subject: [PATCH] VIVO-11 Add delimiters to Freemarker templates If enabled by an option in runtime.properties --- doc/install.html | 18 ++++++++++++++++++ doc/upgrade-1.6.html | 18 ++++++++++++++++++ example.runtime.properties | 9 +++++++++ 3 files changed, 45 insertions(+) diff --git a/doc/install.html b/doc/install.html index 5c886d7b..ed24519b 100644 --- a/doc/install.html +++ b/doc/install.html @@ -788,6 +788,24 @@ + + + For developers only. + 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 false. +
Setting this option to "true" slows down VIVO performance. + + + + + developer.insertFreemarkerDelimiters = true + + + false + + + These values are used when deploying VIVO as an OpenSocial container diff --git a/doc/upgrade-1.6.html b/doc/upgrade-1.6.html index 99ff010e..3ad8e8f2 100644 --- a/doc/upgrade-1.6.html +++ b/doc/upgrade-1.6.html @@ -332,6 +332,24 @@ + + + For developers only. + 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 false. +
Setting this option to "true" slows down VIVO performance. + + + + + developer.insertFreemarkerDelimiters = true + + + false + + + diff --git a/example.runtime.properties b/example.runtime.properties index 8155b2c8..edb02720 100644 --- a/example.runtime.properties +++ b/example.runtime.properties @@ -201,6 +201,15 @@ RDFService.languageFilter = 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 +# false. +# +# developer.insertFreemarkerDelimiters = true + # # For OpenSocial integration # The base URL of the ORNG Shindig server. Usually, this is the same host and port