Date of release: 2002-11-04
Changes in FTL (FreeMarker Template Language)
-
Multi-type variables that are both string and number or string and date are now output using their number or date value instead of the string value when used in the
${...}
interpolation. This practically makes the string part of a string/number or a string/date variables useless. -
Bugfix: operator "or" (
||
) worked wrongly when its left operand was a composite expression (e.g., the second||
infalse || true || false
; this was evaluated tofalse
, but it should betrue
) -
Bugfix: Less-than sign inside comments confused the FTL parser (e.g.
<#-- blah < blah -->
); it commented out everything after the problematic comment. -
Bugfix: Comparing two numerical constants (e.g.
3 == 3
) caused internal error in the FTL parser, and aborted template processing with error. -
Experimental date/time type support was removed, since it seems that this initial implementation was misguided. FreeMarker 2.2 will certainly support data/time.
Changes on the Java side
-
Bugfix:
Number
s wrapped withBEANS_WRAPPER
was displayed with thetoString()
method of wrapped object. Now they are rendered according to thenumber_format
setting, because multi-type variables that are both string and number are now output using their number value instead of the string value. -
Experimental date/time type support was removed, since it seems that this initial implementation was misguided. FreeMarker 2.2 will certainly support data/time.