freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FREEMARKER-58) docu: namespaces page: correct mistake in code example
Date Tue, 13 Jun 2017 17:03:00 GMT

     [ 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="other@example.com" in e>
> ${my.mail}
> {code}
> should be
> {code:java}
> <#import "/lib/example.ftl" as e>
> ${e.mail}
> <#assign mail="other@example.com" 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="other@example.com" 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="other@example.com" in e>
> ${e.mail}, ${e2.mail}, ${e3.mail}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message