froehlich    2002/09/20 11:14:40

  Modified:    src/webapp/samples sitemap.xmap samples.xml
  Log:
  added func. to clear the persistent cache from the sample page
  
  Revision  Changes    Path
  1.19      +8 -0      xml-cocoon2/src/webapp/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/sitemap.xmap,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- sitemap.xmap      19 Sep 2002 09:59:17 -0000      1.18
  +++ sitemap.xmap      20 Sep 2002 18:14:40 -0000      1.19
  @@ -886,6 +886,14 @@
        </map:act>
      </map:match>
   
  +    <map:match pattern="clearpersistentstore">
  +     <map:act type="clear-persistent-store">
  +       <map:generate src="status" type="status"/>
  +       <map:transform src="welcome/status2html.xsl"/>
  +       <map:serialize/>
  +     </map:act>
  +   </map:match>
  +
      <map:match pattern="sites/styles/**.css">
       <map:read mime-type="text/css" src="resources/styles/{1}.css"/>
      </map:match>
  
  
  
  1.28      +4 -1      xml-cocoon2/src/webapp/samples/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/samples.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- samples.xml       19 Sep 2002 09:59:17 -0000      1.27
  +++ samples.xml       20 Sep 2002 18:14:40 -0000      1.28
  @@ -65,6 +65,9 @@
      <sample name="Clear Cache" href="clearcache">
       Empties the Cocoon cache.
      </sample>
  +   <sample name="Clear Persistent Store" href="clearpersistentstore">
  +    Empties the Cocoon persistent store.
  +   </sample>
      <sample name="Request Page" href="system/request.html">
       This example shows the usage of the RequestGenerator.
      </sample>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to