velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r576592 - /velocity/engine/trunk/xdocs/docs/vtl-reference-guide.xml
Date Mon, 17 Sep 2007 21:29:14 GMT
Author: nbubna
Date: Mon Sep 17 14:29:13 2007
New Revision: 576592

URL: http://svn.apache.org/viewvc?rev=576592&view=rev
Log:
s/array/list and add map syntax

Modified:
    velocity/engine/trunk/xdocs/docs/vtl-reference-guide.xml

Modified: velocity/engine/trunk/xdocs/docs/vtl-reference-guide.xml
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/xdocs/docs/vtl-reference-guide.xml?rev=576592&r1=576591&r2=576592&view=diff
==============================================================================
--- velocity/engine/trunk/xdocs/docs/vtl-reference-guide.xml (original)
+++ velocity/engine/trunk/xdocs/docs/vtl-reference-guide.xml Mon Sep 17 14:29:13 2007
@@ -160,7 +160,8 @@
       )</li>
       <li>Number literal: #set( $monkey.Number = 123 )</li>
       <li>Range operator: #set( $monkey.Numbers = [1..3] )</li>
-      <li>Object array: #set( $monkey.Say = ["Not", $my, "fault"] )</li>
+      <li>Object list: #set( $monkey.Say = ["Not", $my, "fault"] )</li>
+      <li>Object map: #set( $monkey.Map = {"banana" : "good", "roast beef" : "bad"})</li>
     </ul>
 
     <p>



Mime
View raw message