You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2018/02/28 20:07:13 UTC
incubator-freemarker git commit: Version history entry for
get_optional_template
Repository: incubator-freemarker
Updated Branches:
refs/heads/2.3-gae 51c247662 -> 432793988
Version history entry for get_optional_template
Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/43279398
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/43279398
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/43279398
Branch: refs/heads/2.3-gae
Commit: 4327939882ed0f640bf54829e3c629174b9dc681
Parents: 51c2476
Author: ddekany <dd...@apache.org>
Authored: Wed Feb 28 21:07:08 2018 +0100
Committer: ddekany <dd...@apache.org>
Committed: Wed Feb 28 21:07:08 2018 +0100
----------------------------------------------------------------------
src/manual/en_US/book.xml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/43279398/src/manual/en_US/book.xml
----------------------------------------------------------------------
diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml
index 7fa85fa..ba4671d 100644
--- a/src/manual/en_US/book.xml
+++ b/src/manual/en_US/book.xml
@@ -27244,7 +27244,13 @@ TemplateModel x = env.getVariable("x"); // get variable x</programlisting>
<itemizedlist>
<listitem>
- <para>[FIXME]</para>
+ <para>Added new <link linkend="ref_specvar">special
+ variable</link>, <literal>get_optional_template</literal>. It
+ can be used when you need to include or import a template that's
+ possibly missing, and you need to handle that case on some
+ special way. <link
+ linkend="ref_specvar_get_optional_template">See the details
+ here...</link></para>
</listitem>
</itemizedlist>
</section>