You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Apache Wiki <wi...@apache.org> on 2006/09/16 17:40:53 UTC
[Jakarta-velocity Wiki] Update of "Velocity15ReleaseNotes" by NathanBubna
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification.
The following page has been changed by NathanBubna:
http://wiki.apache.org/jakarta-velocity/Velocity15ReleaseNotes
The comment on the change is:
i believe the map syntax is valid anywhere the list syntax was, not just in #set
------------------------------------------------------------------------------
The Velocity Template Language (VTL) has been improved to be easier to use. Significant enhancements include new data types, new operators, improvements to the behavior of "==", and minor syntax improvements.
* VTL now has complete support for decimals and all number types. Decimals can be used in mathematical expressions, compared, and set with #set.
- * VTL can create Map objects with #set.
+ * VTL now has syntax for creating maps. This new syntax--{ "foo" : $bar, $key : 'value' }--may be used in the same places that the list creation syntax was valid.
* new VTL string concatenation operator "+".
* When comparing objects with "==" will compare String representations if objects are of different classes.
* Line breaks are allowed in directive calls, macro calls, method calls, and string literals.
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org