On this page
2.1.2
Date of release: 2002-11-28
Changes in FTL (FreeMarker Template Language)
FreeMarkerServletnow has a setting for theContent-Typeheader of the response, defaulting totext/html. Previously it set no content type, which made it not play nicely when integrated with software that expected it (i.e. OpenSymphony SiteMesh).FreeMarkerServletnow works correctly when mapped to an URL extension instead of URL path prefix.You can emulate
includedirective call within Java code by callingEnvironment.include(templateName, charset, parse).
Bugfix: When
Template.process()was called from another template processing, it setcurrentEnvironmentto null when it returned, thus crashed the parent template processing.Bugfix: the
_descendantkey in JDOM support incorrectly left the document root element out of the result when applied to a Document node.Bugfix: because we incorrectly assumed certain behavior of JDK 1.4 Beans introspector, calls to public interface methods on non-public classes that implement the interface were causing exceptions on JDK 1.4
Other changes
Various minor supplements to the manual.
Documentation HTML pages don't try to load the SourceForge logo from the Internet anymore.
The default ant target is
jar, notdist.