Hiding the formdatamodel, changes related to fm online redirecting
Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/51c005ef Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/51c005ef Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/51c005ef Branch: refs/heads/2.3-gae Commit: 51c005ef49c3cde43d3ae1459655add88d3f78ea Parents: d66cf48 Author: Pradeep <[email protected]> Authored: Mon Oct 26 19:23:04 2015 +0530 Committer: Pradeep <[email protected]> Committed: Mon Jan 11 17:21:55 2016 +0530 ---------------------------------------------------------------------- src/manual/en_US/book.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/51c005ef/src/manual/en_US/book.xml ---------------------------------------------------------------------- diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml index 0ea368d..df345c8 100644 --- a/src/manual/en_US/book.xml +++ b/src/manual/en_US/book.xml @@ -451,7 +451,10 @@ that in the <link linkend="example.first">very first example</link> you want to greet your boss, Big Joe, differently than other users:</para> - + <programlisting role="formDataModel"> + user=John + latestProduct = {"url": "https://test.com", "name": "test"} + </programlisting> <programlisting role="template"><html> <head> <title>Welcome!</title> @@ -464,7 +467,6 @@ <a href="${latestProduct.url}">${latestProduct.name}</a>! </body> </html></programlisting> - <para>Here you have told FreeMarker that the <quote>, our beloved leader</quote> should be there only if the value of the variable <literal>user</literal> is equal to the string <literal>"Big
