http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_config_basics.html ---------------------------------------------------------------------- diff --git a/docs/pgui_config_basics.html b/docs/pgui_config_basics.html index 85866e5..0f88e47 100644 --- a/docs/pgui_config_basics.html +++ b/docs/pgui_config_basics.html @@ -66,7 +66,7 @@ ga('send', 'pageview'); parameter.</p><div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_config_sharedvariables.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_config_custom_formats.html ---------------------------------------------------------------------- diff --git a/docs/pgui_config_custom_formats.html b/docs/pgui_config_custom_formats.html index 7db203b..39d2d3b 100644 --- a/docs/pgui_config_custom_formats.html +++ b/docs/pgui_config_custom_formats.html @@ -150,11 +150,11 @@ public class HexTemplateNumberFormatFactory extends TemplateNumberFormatFactory public static final HexTemplateNumberFormatFactory INSTANCE = new HexTemplateNumberFormatFactory(); - + private HexTemplateNumberFormatFactory() { // Defined to decrease visibility } - + @Override public TemplateNumberFormat get(String params, Locale locale, Environment env) throws InvalidFormatParametersException { @@ -165,9 +165,9 @@ public class HexTemplateNumberFormatFactory extends TemplateNumberFormatFactory private static class HexTemplateNumberFormat extends TemplateNumberFormat { private static final HexTemplateNumberFormat INSTANCE = new HexTemplateNumberFormat(); - + private HexTemplateNumberFormat() { } - + @Override public String formatToPlainText(TemplateNumberModel numberModel) throws UnformattableValueException, TemplateModelException { @@ -188,7 +188,7 @@ public class HexTemplateNumberFormatFactory extends TemplateNumberFormatFactory public String getDescription() { return "hexadecimal int"; } - + } }</pre></div> @@ -250,11 +250,11 @@ public class BaseNTemplateNumberFormatFactory extends TemplateNumberFormatFactor public static final BaseNTemplateNumberFormatFactory INSTANCE = new BaseNTemplateNumberFormatFactory(); - + private BaseNTemplateNumberFormatFactory() { // Defined to decrease visibility } - + @Override public TemplateNumberFormat get(String params, Locale locale, Environment env) throws InvalidFormatParametersException { @@ -276,7 +276,7 @@ public class BaseNTemplateNumberFormatFactory extends TemplateNumberFormatFactor fallbackFormat = null; } } - + int base; try { base = Integer.parseInt(params); @@ -299,12 +299,12 @@ public class BaseNTemplateNumberFormatFactory extends TemplateNumberFormatFactor private final int base; private final TemplateNumberFormat fallbackFormat; - + private BaseNTemplateNumberFormat(int base, TemplateNumberFormat fallbackFormat) { this.base = base; this.fallbackFormat = fallbackFormat; } - + @Override public String formatToPlainText(TemplateNumberModel numberModel) throws TemplateModelException, TemplateValueFormatException { @@ -331,7 +331,7 @@ public class BaseNTemplateNumberFormatFactory extends TemplateNumberFormatFactor public String getDescription() { return "base " + base; } - + } }</pre></div> @@ -406,11 +406,11 @@ public class EpochMillisTemplateDateFormatFactory extends TemplateDateFormatFact public static final EpochMillisTemplateDateFormatFactory INSTANCE = new EpochMillisTemplateDateFormatFactory(); - + private EpochMillisTemplateDateFormatFactory() { // Defined to decrease visibility } - + @Override public TemplateDateFormat get(String params, int dateType, Locale locale, TimeZone timeZone, boolean zonelessInput, @@ -424,9 +424,9 @@ public class EpochMillisTemplateDateFormatFactory extends TemplateDateFormatFact private static final EpochMillisTemplateDateFormat INSTANCE = new EpochMillisTemplateDateFormat(); - + private EpochMillisTemplateDateFormat() { } - + @Override public String formatToPlainText(TemplateDateModel dateModel) throws UnformattableValueException, TemplateModelException { @@ -456,7 +456,7 @@ public class EpochMillisTemplateDateFormatFactory extends TemplateDateFormatFact public String getDescription() { return "millis since the epoch"; } - + } }</pre></div> @@ -569,7 +569,7 @@ public class UnitAwareTemplateNumberModel implements TemplateNumberModel { private final Number value; private final String unit; - + public UnitAwareTemplateNumberModel(Number value, String unit) { this.value = value; this.unit = unit; @@ -691,7 +691,7 @@ cfg.setNumberFormat("@ua 0.####;; roundingMode=halfUp");</pre></div> <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config_outputformatsautoesc.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_config_incompatible_improvements.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_config_errorhandling.html ---------------------------------------------------------------------- diff --git a/docs/pgui_config_errorhandling.html b/docs/pgui_config_errorhandling.html index 8f088a0..d36ac54 100644 --- a/docs/pgui_config_errorhandling.html +++ b/docs/pgui_config_errorhandling.html @@ -197,7 +197,7 @@ ga('send', 'pageview'); -<div class="code-wrapper"><pre class="code-block code-unspecified">void handleTemplateException(TemplateException te, Environment env, Writer out) +<div class="code-wrapper"><pre class="code-block code-unspecified">void handleTemplateException(TemplateException te, Environment env, Writer out) throws TemplateException;</pre></div> <p>Whenever a <code class="inline-code">TemplateException</code> occurs, this @@ -382,7 +382,7 @@ c</pre></div> <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config_templateloading.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_config_templateconfigurations.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_config_incompatible_improvements.html ---------------------------------------------------------------------- diff --git a/docs/pgui_config_incompatible_improvements.html b/docs/pgui_config_incompatible_improvements.html index 31d9c21..f7dc1c2 100644 --- a/docs/pgui_config_incompatible_improvements.html +++ b/docs/pgui_config_incompatible_improvements.html @@ -164,7 +164,7 @@ ga('send', 'pageview'); <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config_custom_formats.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_misc.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_config_outputformatsautoesc.html ---------------------------------------------------------------------- diff --git a/docs/pgui_config_outputformatsautoesc.html b/docs/pgui_config_outputformatsautoesc.html index 0bb071d..c6e834d 100644 --- a/docs/pgui_config_outputformatsautoesc.html +++ b/docs/pgui_config_outputformatsautoesc.html @@ -43,7 +43,7 @@ ga('send', 'pageview'); </div></div><p>The output format associated to a template decides if and what kind of auto-escaping is used in that template (unless the template <a href="dgui_misc_autoescaping.html#dgui_misc_autoescaping_overrideoformat">overrides that - with directives</a>). By default, templates has + with directives</a>). By default, templates have "undefined" output format associated, which does no escaping, and in general gives the behavior that you would expect from a template engine that doesn't care about output formats and escaping. @@ -201,7 +201,7 @@ cfg.setTemplateConfigurations( <code class="inline-code">template_configurations</code> setups <a href="pgui_config_templateconfigurations.html">here...</a>)</p><div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config_templateconfigurations.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_config_custom_formats.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_config_settings.html ---------------------------------------------------------------------- diff --git a/docs/pgui_config_settings.html b/docs/pgui_config_settings.html index 91ae0fa..3a4e716 100644 --- a/docs/pgui_config_settings.html +++ b/docs/pgui_config_settings.html @@ -193,7 +193,11 @@ ga('send', 'pageview'); <div class="code-wrapper"><pre class="code-block code-unspecified">Configuration myCfg = new Configuration(Configuration.VERSION_2_3_25); myCfg.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER); -myCfg.setDefaultEncoding("UTF-8");</pre></div> +myCfg.setDefaultEncoding("UTF-8"); +DefaultObjectWrapperBuilder owb = new DefaultObjectWrapperBuilder(Configuration.VERSION_2_3_25); +owb.setForceLegacyNonListCollections(false); +owb.setDefaultDateType(TemplateDateModel.DATETIME); +myCfg.setObjectWrapper(owb.build());</pre></div> <p>You do this before you start to actually use the <code class="inline-code">Configuration</code> object (typically, when you @@ -220,14 +224,37 @@ myCfg.setDefaultEncoding("UTF-8");</pre></div> <prop key="incompatible_improvements">2.3.25</prop> <prop key="template_exception_handler">rethrow</prop> <prop key="default_encoding">UTF-8</prop> + <prop key="object_wrapper"> + DefaultObjectWrapper( + 2.3.25, + forceLegacyNonListCollections = false, + defaultDateType = freemarker.template.TemplateDateModel.DATETIME) + </prop> </props> </property> </bean></pre></div> - <p>Note that this kind of configuring - (<code class="inline-code">String</code> key-value pairs) is somewhat limited - compared to directly using Java API, so in some cases you have to - find a way to do this in Java.</p> + <p>Here's the same when configuring FreeMarker for Struts, + which looks for a <code class="inline-code">freemarker.properties</code> in the + classpath:</p> + + + +<div class="code-wrapper"><pre class="code-block code-unspecified">incompatible_improvements=2.3.25 +template_exception_handler=rethrow +default_encoding=UTF-8 +object_wrapper=DefaultObjectWrapper( \ + 2.3.25, \ + forceLegacyNonListCollections = false, \ + defaultDateType = freemarker.template.TemplateDateModel.DATETIME)</pre></div> + + <p>As demonstrated above with + <code class="inline-code">object_wrapper</code>, some settings can accept quite + complex values, which can be used to instantiate objects of + arbitrary classes and set their properties. Still, configuring + with <code class="inline-code">String</code> key-value pairs is limited compared + to directly using the Java API, so in some cases you have to find + a way to do this in Java.</p> </li> <li> @@ -267,7 +294,7 @@ myCfg.setDefaultEncoding("UTF-8");</pre></div> <p>If you are going to use template layer settings, you should set <a href="pgui_config_incompatible_improvements.html">the <code>incompatible_improvements</code> setting</a> to - 2.3.22 or higher, to avoid soe confusing legacy bugs.</p> + 2.3.22 or higher, to avoid some confusing legacy bugs.</p> </div> </li> @@ -342,7 +369,7 @@ env.process(); // process the template</pre></div> </ul><div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config_sharedvariables.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_config_templateloading.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_config_sharedvariables.html ---------------------------------------------------------------------- diff --git a/docs/pgui_config_sharedvariables.html b/docs/pgui_config_sharedvariables.html index 54a773a..c1037f4 100644 --- a/docs/pgui_config_sharedvariables.html +++ b/docs/pgui_config_sharedvariables.html @@ -134,7 +134,7 @@ cfg.setSharedVariable("company", "Foo Inc.");</pre></div><p> <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config_basics.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_config_settings.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_config_templateconfigurations.html ---------------------------------------------------------------------- diff --git a/docs/pgui_config_templateconfigurations.html b/docs/pgui_config_templateconfigurations.html index 00f0dc3..5fbcafe 100644 --- a/docs/pgui_config_templateconfigurations.html +++ b/docs/pgui_config_templateconfigurations.html @@ -305,7 +305,7 @@ cfg.setTemplateConfigurations( <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config_errorhandling.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_config_outputformatsautoesc.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_config_templateloading.html ---------------------------------------------------------------------- diff --git a/docs/pgui_config_templateloading.html b/docs/pgui_config_templateloading.html index bce4386..01b2140 100644 --- a/docs/pgui_config_templateloading.html +++ b/docs/pgui_config_templateloading.html @@ -355,7 +355,7 @@ cfg.setTemplateLoader(mtl);</pre></div> <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config_settings.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_config_errorhandling.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_datamodel.html ---------------------------------------------------------------------- diff --git a/docs/pgui_datamodel.html b/docs/pgui_datamodel.html index ed64655..ad10f8e 100644 --- a/docs/pgui_datamodel.html +++ b/docs/pgui_datamodel.html @@ -46,7 +46,7 @@ ga('send', 'pageview'); detailed information.</p><div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_quickstart_all.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_datamodel_basics.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_datamodel_basics.html ---------------------------------------------------------------------- diff --git a/docs/pgui_datamodel_basics.html b/docs/pgui_datamodel_basics.html index 6186b3d..28fb434 100644 --- a/docs/pgui_datamodel_basics.html +++ b/docs/pgui_datamodel_basics.html @@ -96,7 +96,7 @@ ga('send', 'pageview'); object.)</p><div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_datamodel.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_datamodel_scalar.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_datamodel_directive.html ---------------------------------------------------------------------- diff --git a/docs/pgui_datamodel_directive.html b/docs/pgui_datamodel_directive.html index dc4ed1c..c946997 100644 --- a/docs/pgui_datamodel_directive.html +++ b/docs/pgui_datamodel_directive.html @@ -107,16 +107,16 @@ import freemarker.template.TemplateModelException; /** * FreeMarker user-defined directive that progressively transforms * the output of its nested content to upper-case. - * - * + * + * * <p><b>Directive info</b></p> - * + * * <p>Directive parameters: None * <p>Loop variables: None * <p>Directive nested content: Yes */ public class UpperDirective implements TemplateDirectiveModel { - + public void execute(Environment env, Map params, TemplateModel[] loopVars, TemplateDirectiveBody body) @@ -130,7 +130,7 @@ public class UpperDirective implements TemplateDirectiveModel { throw new TemplateModelException( "This directive doesn't allow loop variables."); } - + // If there is non-empty nested content: if (body != null) { // Executes the nested body. Same as <#nested> in FTL, except @@ -140,15 +140,15 @@ public class UpperDirective implements TemplateDirectiveModel { throw new RuntimeException("missing body"); } } - + /** * A {@link Writer} that transforms the character stream to upper case * and forwards it to another {@link Writer}. - */ + */ private static class UpperCaseFilterWriter extends Writer { - + private final Writer out; - + UpperCaseFilterWriter (Writer out) { this.out = out; } @@ -275,47 +275,47 @@ import freemarker.template.TemplateNumberModel; * optionally with separating the output of the repetations with * <tt>&lt;hr></tt>-s. * - * + * * <p><b>Directive info</b></p> - * + * * <p>Parameters: * <ul> * <li><code>count</code>: The number of repetations. Required! * Must be a non-negative number. If it is not a whole number then it will * be rounded <em>down</em>. * <li><code>hr</code>: Tells if a HTML "hr" element could be printed between - * repetations. Boolean. Optional, defaults to <code>false</code>. + * repetations. Boolean. Optional, defaults to <code>false</code>. * </ul> * * <p>Loop variables: One, optional. It gives the number of the current * repetation, starting from 1. - * + * * <p>Nested content: Yes */ public class RepeatDirective implements TemplateDirectiveModel { - + private static final String PARAM_NAME_COUNT = "count"; private static final String PARAM_NAME_HR = "hr"; - + public void execute(Environment env, Map params, TemplateModel[] loopVars, TemplateDirectiveBody body) throws TemplateException, IOException { - + // --------------------------------------------------------------------- // Processing the parameters: - + int countParam = 0; boolean countParamSet = false; boolean hrParam = false; - + Iterator paramIter = params.entrySet().iterator(); while (paramIter.hasNext()) { Map.Entry ent = (Map.Entry) paramIter.next(); - + String paramName = (String) ent.getKey(); TemplateModel paramValue = (TemplateModel) ent.getValue(); - + if (paramName.equals(PARAM_NAME_COUNT)) { if (!(paramValue instanceof TemplateNumberModel)) { throw new TemplateModelException( @@ -348,17 +348,17 @@ public class RepeatDirective implements TemplateDirectiveModel { "The required \"" + PARAM_NAME_COUNT + "\" paramter" + "is missing."); } - + if (loopVars.length > 1) { throw new TemplateModelException( "At most one loop variable is allowed."); } - + // Yeah, it was long and boring... - + // --------------------------------------------------------------------- // Do the actual directive execution: - + Writer out = env.getOut(); if (body != null) { for (int i = 0; i < countParam; i++) { @@ -367,12 +367,12 @@ public class RepeatDirective implements TemplateDirectiveModel { if (hrParam && i != 0) { out.write("<hr>"); } - + // Set the loop variable, if there is one: if (loopVars.length > 0) { loopVars[0] = new SimpleNumber(i + 1); } - + // Executes the nested body (same as <#nested> in FTL). In this // case we don't provide a special writer as the parameter: body.render(env.getOut()); @@ -402,7 +402,7 @@ public class RepeatDirective implements TemplateDirectiveModel { <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_datamodel_method.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_datamodel_node.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_datamodel_method.html ---------------------------------------------------------------------- diff --git a/docs/pgui_datamodel_method.html b/docs/pgui_datamodel_method.html index ef1420b..56cffaa 100644 --- a/docs/pgui_datamodel_method.html +++ b/docs/pgui_datamodel_method.html @@ -59,7 +59,7 @@ ga('send', 'pageview'); the second string doesn't contains the first.</p> <div class="code-wrapper"><pre class="code-block code-unspecified">public class IndexOfMethod implements TemplateMethodModel { - + public TemplateModel exec(List args) throws TemplateModelException { if (args.size() != 2) { throw new TemplateModelException("Wrong arguments"); @@ -81,7 +81,7 @@ ${indexOf("foo", x)}</pre></div><p>and then the output will be:</p> <code class="inline-code">Environment.getCurrentEnvironment()</code>.</p><div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_datamodel_parent.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_datamodel_directive.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_datamodel_node.html ---------------------------------------------------------------------- diff --git a/docs/pgui_datamodel_node.html b/docs/pgui_datamodel_node.html index 0813536..c370c33 100644 --- a/docs/pgui_datamodel_node.html +++ b/docs/pgui_datamodel_node.html @@ -114,7 +114,7 @@ ga('send', 'pageview'); see <a href="xgui.html">how FreeMarker deals with XML</a>.</p><div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_datamodel_directive.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_datamodel_objectWrapper.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_datamodel_objectWrapper.html ---------------------------------------------------------------------- diff --git a/docs/pgui_datamodel_objectWrapper.html b/docs/pgui_datamodel_objectWrapper.html index 5881e72..73e449c 100644 --- a/docs/pgui_datamodel_objectWrapper.html +++ b/docs/pgui_datamodel_objectWrapper.html @@ -301,9 +301,9 @@ public class Tupple<E1, E2> { public class TuppleAdapter extends WrappingTemplateModel implements TemplateSequenceModel, AdapterTemplateModel { - + private final Tupple<?, ?> tupple; - + public TuppleAdapter(Tupple<?, ?> tupple, ObjectWrapper ow) { super(ow); // coming from WrappingTemplateModel this.tupple = tupple; @@ -313,7 +313,7 @@ public class TuppleAdapter extends WrappingTemplateModel implements TemplateSequ public int size() throws TemplateModelException { return 2; } - + @Override // coming from TemplateSequenceModel public TemplateModel get(int index) throws TemplateModelException { switch (index) { @@ -327,7 +327,7 @@ public class TuppleAdapter extends WrappingTemplateModel implements TemplateSequ public Object getAdaptedObject(Class hint) { return tupple; } - + }</pre></div> <p>Regarding the classes and interfaces:</p> @@ -371,16 +371,16 @@ public class MyAppObjectWrapper extends DefaultObjectWrapper { public MyAppObjectWrapper(Version incompatibleImprovements) { super(incompatibleImprovements); } - + @Override protected TemplateModel handleUnknownType(final Object obj) throws TemplateModelException { if (obj instanceof Tupple) { return new TuppleAdapter((Tupple<?, ?>) obj, this); } - + return super.handleUnknownType(obj); } - + }</pre></div> <p>and then where you configure FreeMarker (<a href="pgui_config.html">about configuring, see here...</a>) we plug @@ -403,7 +403,7 @@ cfg.setObjectWrapper(new MyAppObjectWrapper(cfg.getIncompatibleImprovements())); <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_datamodel_node.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_config.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_datamodel_parent.html ---------------------------------------------------------------------- diff --git a/docs/pgui_datamodel_parent.html b/docs/pgui_datamodel_parent.html index 6a02106..bdeb8d3 100644 --- a/docs/pgui_datamodel_parent.html +++ b/docs/pgui_datamodel_parent.html @@ -120,7 +120,7 @@ ga('send', 'pageview'); <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_datamodel_scalar.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_datamodel_method.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_datamodel_scalar.html ---------------------------------------------------------------------- diff --git a/docs/pgui_datamodel_scalar.html b/docs/pgui_datamodel_scalar.html index 558105e..4722754 100644 --- a/docs/pgui_datamodel_scalar.html +++ b/docs/pgui_datamodel_scalar.html @@ -145,7 +145,7 @@ ga('send', 'pageview'); <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_datamodel_basics.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_datamodel_parent.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_misc.html ---------------------------------------------------------------------- diff --git a/docs/pgui_misc.html b/docs/pgui_misc.html index 334f414..458830d 100644 --- a/docs/pgui_misc.html +++ b/docs/pgui_misc.html @@ -46,7 +46,7 @@ ga('send', 'pageview'); details.</p><div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_config_incompatible_improvements.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_misc_var.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_misc_ant.html ---------------------------------------------------------------------- diff --git a/docs/pgui_misc_ant.html b/docs/pgui_misc_ant.html index 7495e25..2ff8fd6 100644 --- a/docs/pgui_misc_ant.html +++ b/docs/pgui_misc_ant.html @@ -102,7 +102,7 @@ ga('send', 'pageview'); <code class="inline-code">freemarker.ext.ant.FreemarkerXmlTask</code>.</p><div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_misc_xml_legacy.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_misc_jythonwrapper.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_misc_beanwrapper.html ---------------------------------------------------------------------- diff --git a/docs/pgui_misc_beanwrapper.html b/docs/pgui_misc_beanwrapper.html index dd01940..1582aab 100644 --- a/docs/pgui_misc_beanwrapper.html +++ b/docs/pgui_misc_beanwrapper.html @@ -657,7 +657,7 @@ TemplateHashModel roundingModeEnums = <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_misc_multithreading.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_misc_logging.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/c4f03a5e/docs/pgui_misc_charset.html ---------------------------------------------------------------------- diff --git a/docs/pgui_misc_charset.html b/docs/pgui_misc_charset.html index cd723a2..23d7a83 100644 --- a/docs/pgui_misc_charset.html +++ b/docs/pgui_misc_charset.html @@ -163,7 +163,7 @@ env.process();</pre></div> <div class="bottom-pagers-wrapper"><div class="pagers bottom"><a class="paging-arrow previous" href="pgui_misc_var.html"><span>Previous</span></a><a class="paging-arrow next" href="pgui_misc_multithreading.html"><span>Next</span></a></div></div></div></div> </div> </div> <div class="site-footer"><div class="site-width"><div class="footer-top"><div class="col-left sitemap"><div class="column"><h3 class="column-header">Overview</h3><ul><li><a href="http://freemarker.org/">What is FreeMarker?</a></li><li><a href="http://freemarker.org/freemarkerdownload.html">Download</a></li><li><a href="app_versions.html">Version history</a></li><li><a href="http://freemarker.org/history.html">About us</a></li><li><a itemprop="license" href="app_license.html">License</a></li></ul></div><div class="column"><h3 class="column-header">Handy stuff</h3><ul><li><a href="http://freemarker-online.kenshoo.com/">Try template online</a></li><li><a href="dgui_template_exp.html#exp_cheatsheet">Expressions cheatsheet</a></li><li><a href="ref_directive_alphaidx.html">#directives</a></li><li><a href="ref_builtins_alphaidx.html">?built_ins</a></li><li><a href="ref_specvar.html">.special_vars</a></li></ul></div><div class="column"><h3 class="column-header">Community</h3><ul><li><a href ="https://github.com/freemarker/freemarker">FreeMarker on Github</a></li><li><a href="https://twitter.com/freemarker">Follow us on Twitter</a></li><li><a href="https://sourceforge.net/p/freemarker/bugs/new/">Report a bug</a></li><li><a href="http://stackoverflow.com/questions/ask?tags=freemarker">Ask a question</a></li><li><a href="http://freemarker.org/mailing-lists.html">Mailing lists</a></li></ul></div></div><div class="col-right"><ul class="social-icons"><li><a class="github" href="https://github.com/freemarker/freemarker">Github</a></li><li><a class="twitter" href="https://twitter.com/freemarker">Twitter</a></li><li><a class="stack-overflow" href="http://stackoverflow.com/questions/ask?tags=freemarker">Stack Overflow</a></li></ul><a class="xxe" href="http://www.xmlmind.com/xmleditor/" rel="nofollow" title="Edited with XMLMind XML Editor"><span>Edited with XMLMind XML Editor</span></a></div></div><div class="footer-bottom"><p><span class="generated-for-product">Generated for: Fr eemarker 2.3.25</span><span class="last-updated"> Last generated: -<time itemprop="dateModified" datetime="2016-07-05T19:17:27Z" title="Tuesday, July 5, 2016 7:17:27 PM GMT">2016-07-05 19:17:27 GMT</time></span></p> <p class="copyright"> +<time itemprop="dateModified" datetime="2016-08-11T18:57:24Z" title="Thursday, August 11, 2016 6:57:24 PM GMT">2016-08-11 18:57:24 GMT</time></span></p> <p class="copyright"> © <span itemprop="copyrightYear">1999</span>â2016 <a itemtype="http://schema.org/Organization" itemprop="copyrightHolder" href="http://freemarker.org">The Apache Software Foundation</a>. All rights reserved. </p> </div></div></div></body>