Move RCP support to Argeo SLC
[lgpl/argeo-commons.git] / org.argeo.core / src / org / argeo / fm / TestFreeMarker.java
index a0c1c48e9b187280b0928853aba3e7f8feccfb08..96c0a21e4ffbd8749beb773b90ff60e3ddb4336d 100644 (file)
@@ -43,6 +43,14 @@ public class TestFreeMarker {
                        latest.setName("green mouse");
                        root.put("latestProduct", latest);
 
+                       root.put("message", "It's a test");
+
+                       Map<String, Animal> animals = new HashMap<>();
+                       animals.put("mouse", new Animal("small", 50));
+                       animals.put("elephant", new Animal("big", 2000));
+                       animals.put("dog", new Animal("medium", 150));
+                       root.put("animals", animals);
+
                        /* Get the template (uses cache internally) */
                        Template temp = cfg.getTemplate(template);