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 Apache Wiki <wi...@apache.org> on 2009/11/28 00:35:55 UTC

[Solr Wiki] Trivial Update of "VelocityResponseWriter" by SaschaSzott

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "VelocityResponseWriter" page has been changed by SaschaSzott.
http://wiki.apache.org/solr/VelocityResponseWriter?action=diff&rev1=23&rev2=24

--------------------------------------------------

   * {{{v.layout}}}: Template name that wraps main template (v.template).  Main template renders to a $content that can be used in layout template.
   * {{{v.base_dir}}}: overwrites default template load path (conf/velocity/).
   * {{{v.properties}}}: specifies a velocity properties file (velocity.propeties) to be applied.
-  * {{{v.contentType}}}: sets the value of the HTTP request's Content-Type header (in case html pages should be UTF-8 (instead of ISO-8859-1) encoded, make sure you set this option to {{{text/xml;charset=UTF-8}}} (for XHTML) and {{{text/html;charset=UTF-8}}} (for HTML), respectively)
+  * {{{v.contentType}}}: sets the value of the HTTP request's Content-Type header (in case (x)html pages should be UTF-8 (instead of ISO-8859-1) encoded, make sure you set this option to {{{text/xml;charset=UTF-8}}} (for XHTML) and {{{text/html;charset=UTF-8}}} (for HTML), respectively)
  
  
  == Velocity Context ==