[
https://issues.apache.org/jira/browse/FREEMARKER-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dekany closed FREEMARKER-58.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3.27-incubating
Thanks, fixed online and in the next release!
> docu: namespaces page: correct mistake in code example
> ------------------------------------------------------
>
> Key: FREEMARKER-58
> URL: https://issues.apache.org/jira/browse/FREEMARKER-58
> Project: Apache Freemarker
> Issue Type: Task
> Reporter: Johannes Lugmayr
> Priority: Minor
> Fix For: 2.3.27-incubating
>
>
> on
> [http://freemarker.org/docs/dgui_misc_namespace.html]
> is written
> {code:java}
> <#import "/lib/example.ftl" as e>
> ${my.mail}
> <#assign mail="[email protected]" in e>
> ${my.mail}
> {code}
> should be
> {code:java}
> <#import "/lib/example.ftl" as e>
> ${e.mail}
> <#assign mail="[email protected]" in e>
> ${e.mail}
> {code}
> ---
> is written
> {code:java}
> <#import "/lib/example.ftl" as e>
> <#import "/lib/example.ftl" as e2>
> <#import "/lib/example.ftl" as e3>
> ${e.mail}, ${e2.mail}, ${e3.mail}
> <#assign mail="[email protected]" in my>
> ${e.mail}, ${e2.mail}, ${e3.mail}
> {code}
> should be
> {code:java}
> <#import "/lib/example.ftl" as e>
> <#import "/lib/example.ftl" as e2>
> <#import "/lib/example.ftl" as e3>
> ${e.mail}, ${e2.mail}, ${e3.mail}
> <#assign mail="[email protected]" in e>
> ${e.mail}, ${e2.mail}, ${e3.mail}
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)