stephan 2002/07/02 14:35:55 Modified: src/webapp/samples sitemap.xmap Log: The overview of the sample works again, and also the mount to the samples of the sratchpad. Revision Changes Path 1.9 +16 -11 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.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sitemap.xmap 2 Jul 2002 13:37:57 -0000 1.8 +++ sitemap.xmap 2 Jul 2002 21:35:55 -0000 1.9 @@ -221,6 +221,19 @@ <!-- Define component configuration here --> </map:component-configurations> + <map:pipeline> + <!-- Welcome site with all exsamples --> + <map:match pattern=""> + <map:redirect-to uri="welcome"/> + </map:match> + + <map:match pattern="welcome"> + <map:generate src="samples.xml"/> + <map:transform type="xalan" src="common/style/xsl/html/simple-samples2html.xsl"/> + <map:serialize/> + </map:match> + </map:pipeline> + <!-- MyApp - minimal Cocoon Application Mount --> <map:pipeline> <map:match pattern="myapp/**"> @@ -313,18 +326,10 @@ <map:generate src="xmldb:xindice://localhost:4080/db/{1}"/> <map:serialize type="xml"/> </map:match> -</map:pipeline> - - <!-- pipeline mounting samples sitemaps --> - <map:pipeline> - <!-- mount other sample pages --> - <map:match pattern="samples/**"> - <map:mount check-reload="yes" src="samples/" uri-prefix="samples"/> - </map:match> </map:pipeline> <!-- main samples pipeline --> - <map:pipeline> + <map:pipeline> <map:match pattern=""> <map:generate src="welcome/welcome.xhtml"/> <map:serialize/> @@ -918,11 +923,11 @@ <map:read mime-type="image/png" src="resources/images/{1}.png"/> </map:match> - <map:match pattern="**/"> +<!-- <map:match pattern="**/"> <map:generate src="{1}" type="directory"/> <map:transform src="stylesheets/system/directory2html.xsl"/> <map:serialize/> - </map:match> + </map:match>--> <map:handle-errors> <map:transform src="context://stylesheets/system/error2html.xsl"/>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]