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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]