Author: ssanthor
Date: 2006-11-29 16:26:50 +0100 (Wed, 29 Nov 2006)
New Revision: 4050

Modified:
   
trunk/core-api/src/main/java/no/schibstedsok/searchportal/view/output/VelocityResultHandler.java
Log:
added date velocity tool SEARCH-1193 new tv search

Modified: 
trunk/core-api/src/main/java/no/schibstedsok/searchportal/view/output/VelocityResultHandler.java
===================================================================
--- 
trunk/core-api/src/main/java/no/schibstedsok/searchportal/view/output/VelocityResultHandler.java
    2006-11-29 14:12:17 UTC (rev 4049)
+++ 
trunk/core-api/src/main/java/no/schibstedsok/searchportal/view/output/VelocityResultHandler.java
    2006-11-29 15:26:50 UTC (rev 4050)
@@ -24,7 +24,9 @@
 import org.apache.velocity.exception.ParseErrorException;
 import org.apache.velocity.exception.ResourceNotFoundException;
 import org.apache.velocity.tools.generic.MathTool;
+import org.apache.velocity.tools.generic.DateTool;
 
+
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 import java.io.StringWriter;
@@ -94,6 +96,8 @@
         context.put("decoder", new Decoder());
         // math tool
         context.put("math", new MathTool());
+        // date tool
+        context.put("date", new DateTool());
         return context;
     }
 

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to