W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2010

unicorn commit: + UnicornVelocityTool in velocity contexts

From: Mercurial notifier <nobody@w3.org>
Date: Wed, 21 Jul 2010 15:53:19 +0000
To: Unicorn Updates <www-validator-cvs@w3.org>
Message-Id: <E1Obbbj-0004HT-Lw@blinky.w3.org>
changeset:   1319:ec0bb0b9b101
user:        Thomas Gambet <tgambet@w3.org>
date:        Wed Jul 21 11:20:37 2010 -0400
files:       src/org/w3c/unicorn/Framework.java
description:
+ UnicornVelocityTool in velocity contexts


diff -r 7efb88d3331f -r ec0bb0b9b101 src/org/w3c/unicorn/Framework.java
--- a/src/org/w3c/unicorn/Framework.java	Wed Jul 21 11:20:04 2010 -0400
+++ b/src/org/w3c/unicorn/Framework.java	Wed Jul 21 11:20:37 2010 -0400
@@ -48,6 +48,7 @@
 import org.w3c.unicorn.util.MessageList;
 import org.w3c.unicorn.util.Property;
 import org.w3c.unicorn.util.UCNProperties;
+import org.w3c.unicorn.util.UnicornVelocityTool;
 import org.w3c.unicorn.response.Response;
 
 import com.ibm.icu.util.ULocale;
@@ -548,6 +549,7 @@
 		    }
 			context.put("esc", new EscapeTool());
 			context.put("math", new MathTool());
+			context.put("unicornTool", new UnicornVelocityTool());
 			context.put("ucn", new Language());
 			context.put("strUtils", new StringUtils());
 			context.put("tasklist", mapOfTask);
Received on Wednesday, 21 July 2010 15:53:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:43 UTC