Update of /var/cvs/html/WEB-INF
In directory james.mmbase.org:/tmp/cvs-serv5057

Modified Files:
        web.xml 
Log Message:
documented 'addfilename' parameters


See also: http://cvs.mmbase.org/viewcvs/html/WEB-INF


Index: web.xml
===================================================================
RCS file: /var/cvs/html/WEB-INF/web.xml,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- web.xml     28 Jun 2007 18:35:39 -0000      1.36
+++ web.xml     18 Sep 2008 09:58:24 -0000      1.37
@@ -5,7 +5,7 @@
 
   Web-app 2.4 gives the possibility to use EL (Expression Language)
 
-  $Id: web.xml,v 1.36 2007/06/28 18:35:39 michiel Exp $
+  $Id: web.xml,v 1.37 2008/09/18 09:58:24 michiel Exp $
 -->
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee";
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
@@ -117,6 +117,21 @@
   </context-param>
 
 
+  <!--
+       Whether URL's generated to images must include a filename.
+       Possible values are: 'yes' (from filename field, or from title), 'no', 
or '' (only if the 'filename' field is present, and filled).
+  -->
+  <context-param>
+    <param-name>mmbase.servlet.images.addfilename</param-name>
+    <param-value>yes</param-value>
+  </context-param>
+  <!-- some for attachments -->
+  <context-param>
+    <param-name>mmbase.servlet.attachments.addfilename</param-name>
+    <param-value>yes</param-value>
+  </context-param>
+
+
   <filter>
     <filter-name>FrameworkFilter</filter-name>
     <filter-class>org.mmbase.framework.FrameworkFilter</filter-class>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to