FreeMarker 2.3.12 released
FreeMarker 2.3.12 is out! Download it from here.
- We fixed one really ugly (and really stupid to make) bug that made the JSP 2.0 SimpleTag support introduced in 2.3.11 immediately unusable (ouch). Everything gets better at second attempt, I guess, so it works now; with my apologies to anyone bitten by it.
- FreeMarker's praised error reporting got even (a bit) better: parse-time exception messages now display the name of the template in addition to line and column number (I too can't believe we didn't have this earlier).
- Variable argument methods (introduced with Java 5) on Java objects can now be properly invoked (in case of overloaded methods, observing the same rules for method resolution that the Java language itself uses).
- Finally, Java 5 enum constants are now identified by their name, not their toString() representation (which can be overridden in a subclass). They still print their toString() representation, of course.
11 Comments:
tar, gzip. Jeez, can you also provide just zip? This tar and gzip stuff is very windows unfriendly. Just downloaded a tool to ungzip the stuff. Now I need to find something to untar it :-(
Thanks,
Marc
use 7zip (http://www.7-zip.org/)
Nice release.
Marc, both 7-zip and Winzip support .tar.gz (though I think the latter prefers .tgz)
Nice release,thnx!
Can you tell me something about the 2.4 release date?
boci[hu]
Really couldn't give you a release date. There is a preview release out now, you might want to try it -- see the front page at http://freemarker.org.
(Even though I'm incidentally working on some rough edges as I write this, so it's by no means a final 2.4.)
Thnx Attila!
Possible (or plan) to embed the syntax auto detection to 2.3 release? (I want to using the alternative bracket syntax but the [#ftl] is very ugly in the beginning of the files :)
boci [hu]
I don't think so - it wouldn't be backwards compatible. Best you can do is you can configure your Configuration object for it:
Configuration.setTagSyntax(Configuration.AUTO_DETECT_TAG_SYNTAX)
or in Spring:
<bean id="freemarkerConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="freemarkerSettings">
<props>
<prop key="tag_syntax">auto_detect</prop>
</props>
</property>
</bean>
</code>
Or for FreemarkerServlet in WEB-INF/web.xml:
<init-param>
<param-name>tag_syntax</param-name>
<param-value>auto_detect</param-value>
</init-param>
Also, if you plan to use square brackets all the way, you might actually set it to "square_bracket" instead of to "auto_detect"...
Thanks
boci[hu]
Freemarker 2.3.15 is out now !
Please Download from here -> http://prdownloads.sourceforge.net/freemarker/freemarker-2.3.15.tar.gz
LATEST : FREEMARKER : 2.3.15
http://prdownloads.sourceforge.net/freemarker/freemarker-2.3.15.tar.gz
Hi,
seen that in the
freemarker doc
page there is nothing about internationalization.
I'd like to have some authoritative source of information about i18n in freemarker, be it a blog post but nicer to be in the (already very good) documentation.
Thanks a lot
Post a Comment
<< Home