cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/webdav/samples/davmap sitemap.xmap
Date Wed, 10 Dec 2003 10:53:31 GMT
unico       2003/12/10 02:53:31

  Modified:    src/blocks/webdav/samples/davmap sitemap.xmap
  Log:
  fix DELETE method
  
  Revision  Changes    Path
  1.14      +14 -4     cocoon-2.1/src/blocks/webdav/samples/davmap/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/webdav/samples/davmap/sitemap.xmap,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- sitemap.xmap	14 Nov 2003 18:58:45 -0000	1.13
  +++ sitemap.xmap	10 Dec 2003 10:53:31 -0000	1.14
  @@ -31,7 +31,7 @@
       </map:transformers>
       
       <!-- If event caching is enabled you'll need to uncomment this in order
  -         for PROPPATCH to work properly
  +         for PROPPATCH to work properly 
       <map:pipes default="caching">
         <map:pipe name="event-caching" 
           src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline"
  @@ -70,7 +70,7 @@
       
       <map:component-configurations>
         <global-variables>
  -        <staging>repository:./repo/</staging>
  +        <staging>repository:./repo</staging>
         </global-variables>
       </map:component-configurations>
       
  @@ -96,7 +96,9 @@
             | generate the input for the PUT method.
             + -->
         <map:match pattern="request/PUT">
  -        <map:generate type="stream" />
  +        <map:generate type="stream">
  +          <map:parameter name="defaultContentType" value="text/xml" />
  +        </map:generate>
           <map:serialize type="xml" />
         </map:match>
         
  @@ -128,6 +130,10 @@
             <map:parameter name="depth" value="1"/>
             <map:parameter name="dateFormat" value="EEE, d MMM yyyy HH:mm:ss z" />
             <map:parameter name="timeZone" value="GMT" />
  +          <map:parameter name="properties" value="false" />
  +          <map:parameter name="locks" value="false" />
  +          <map:parameter name="permissions" value="false" />
  +          <map:parameter name="version" value="false" />
           </map:generate>
           <map:transform src="styles/collection2html.xsl">
             <map:parameter name="requestURI" value="{request:requestURI}" />
  @@ -142,6 +148,10 @@
             <map:parameter name="depth" value="{request-header:Depth}" />
             <map:parameter name="dateFormat" value="EEE, d MMM yyyy HH:mm:ss z" />
             <map:parameter name="timeZone" value="GMT" />
  +          <map:parameter name="properties" value="false" />
  +          <map:parameter name="locks" value="false" />
  +          <map:parameter name="permissions" value="false" />
  +          <map:parameter name="version" value="false" />
           </map:generate>
           <map:transform src="styles/collection2propfind.xsl">
             <map:parameter name="requestURI" value="{request:requestURI}" />
  @@ -192,7 +202,7 @@
         
         <map:match pattern="DELETE/**">
           <map:call function="remove">
  -          <map:parameter name="location" value="{global:staging}{1}.{2}" />
  +          <map:parameter name="location" value="{global:staging}{1}" />
           </map:call>
         </map:match>
         
  
  
  

Mime
View raw message