cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject cvs commit: cocoon-2.1/src/webapp/samples sitemap.xmap
Date Sun, 16 Mar 2003 22:28:07 GMT
stefano     2003/03/16 14:28:07

  Modified:    src/webapp/samples sitemap.xmap
  Log:
  fall back to the main error handler
  
  Revision  Changes    Path
  1.5       +2 -32     cocoon-2.1/src/webapp/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/sitemap.xmap,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- sitemap.xmap	11 Mar 2003 12:54:31 -0000	1.4
  +++ sitemap.xmap	16 Mar 2003 22:28:07 -0000	1.5
  @@ -171,14 +171,6 @@
           subsitemap.
         -->
       </map:match>
  -
  -    <map:handle-errors>
  -      <!-- 
  -        This pipeline specifies a different error handler.
  -      -->
  -      <map:transform src="context://samples/stylesheets/system/error2html.xsl"/>
  -      <map:serialize status-code="500"/>
  -    </map:handle-errors>
     </map:pipeline>
   
     <map:pipeline id="optional">
  @@ -641,34 +633,12 @@
       <map:read src="common/resources/images/{1}.png" mime-type="image/png"/>
      </map:match>
   
  -   <!-- ================== Common fallthrough ===================== -->
  -   <!--
  -   <map:match pattern="*/images/*.gif">
  -    <map:read src="common/resources/images/{2}.gif" mime-type="image/gif"/>
  -   </map:match>
  -
  -   <map:match pattern="*/images/*.jpg">
  -    <map:read src="common/resources/images/{2}.jpg" mime-type="image/jpg"/>
  -   </map:match>
  -
  -   <map:match pattern="*/images/*.png">
  -    <map:read src="common/resources/images/{2}.png" mime-type="image/png"/>
  -   </map:match>
  -   -->
  -   <!-- ======================== Samples =============================== -->
  +   <!-- ======================== Automount =============================== -->
      
  -   <!-- samples automount -->  
      <map:match pattern="*/**">
        <map:mount uri-prefix="{1}" src="{1}/" check-reload="yes"/>
      </map:match>
  -        
  -   <map:handle-errors>
  -    <!-- FIXME -->
  -    <!--<map:transform src="common/style/xsl/html/error2html.xsl"/>-->
  -    <map:transform src="context://samples/common/style/xsl/html/error2html.xsl"/>
  -    <map:serialize type="html" status-code="500"/>
  -   </map:handle-errors>
  -
  +  
     </map:pipeline>
    </map:pipelines>
   
  
  
  

Mime
View raw message