You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cr...@apache.org on 2002/09/19 11:59:17 UTC
cvs commit: xml-cocoon2/src/webapp/samples sitemap.xmap samples.xml
crafterm 2002/09/19 02:59:17
Modified: src/webapp/samples sitemap.xmap samples.xml
Log:
Applied sample webapp clear cache patch from
Michael Melhem (michaelm@fztig938.bank.dresdner.net). Fixes BZ#12804
Revision Changes Path
1.18 +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.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- sitemap.xmap 21 Aug 2002 08:08:18 -0000 1.17
+++ sitemap.xmap 19 Sep 2002 09:59:17 -0000 1.18
@@ -878,6 +878,14 @@
<map:serialize/>
</map:match>
+ <map:match pattern="clearcache">
+ <map:act type="clear-cache">
+ <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.27 +5 -2 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.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- samples.xml 17 Sep 2002 09:04:07 -0000 1.26
+++ samples.xml 19 Sep 2002 09:59:17 -0000 1.27
@@ -62,7 +62,10 @@
<sample name="Status Page" href="status">
Cocoon status page.
</sample>
- <sample name="Request Page" href="system/request.html">
+ <sample name="Clear Cache" href="clearcache">
+ Empties the Cocoon cache.
+ </sample>
+ <sample name="Request Page" href="system/request.html">
This example shows the usage of the RequestGenerator.
</sample>
<sample name="Error Page" href="system/generror.html">
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org