You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by eh...@apache.org on 2008/12/16 10:24:56 UTC

svn commit: r726996 - /lucene/solr/trunk/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.java

Author: ehatcher
Date: Tue Dec 16 01:24:55 2008
New Revision: 726996

URL: http://svn.apache.org/viewvc?rev=726996&view=rev
Log:
todo, done

Modified:
    lucene/solr/trunk/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.java

Modified: lucene/solr/trunk/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.java?rev=726996&r1=726995&r2=726996&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.java (original)
+++ lucene/solr/trunk/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.java Tue Dec 16 01:24:55 2008
@@ -59,7 +59,6 @@
     context.put("date", new ComparisonDateTool());
     context.put("math", new MathTool());
    
-    // TODO: check for v.layout, render to string, then render v.layout's template setting $content in the context
     String layout_template = request.getParams().get("v.layout");
     String json_wrapper = request.getParams().get("v.json");
     boolean wrap_response = (layout_template != null) || (json_wrapper !=null);