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 sitemap.xmap
Date Tue, 11 Mar 2003 01:58:31 GMT
stefano     2003/03/10 17:58:31

  Modified:    src/webapp sitemap.xmap
  Log:
  - adding API matching
- start writing the error handler (will finish tomorrow)
  
  Revision  Changes    Path
  1.2       +15 -3     cocoon-2.1/src/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap	9 Mar 2003 00:10:42 -0000	1.1
  +++ sitemap.xmap	11 Mar 2003 01:58:31 -0000	1.2
  @@ -433,10 +433,10 @@
       </map:match>
   
       <!--+
  -        | "Old" location of the documentation, should be replaced in samples by "documentation".
  +        | Map the API documentation.
           +-->
  -    <map:match pattern="documents/**">
  -      <map:mount src="documentation/" uri-prefix="documents"/>
  +    <map:match pattern="api/**">
  +      <map:read src="api/{1}"/>
       </map:match>
       
       <!--+
  @@ -446,6 +446,18 @@
       <map:match pattern="*/**">
         <map:mount check-reload="yes" src="{1}/" uri-prefix="{1}"/>
       </map:match>
  +    
  +    <!--+
  +        | At the very end of a pipeline, you can catch the errors triggered
  +        | by the pipeline execution. The error handler is an internal sitemap
  +        | component that when triggered by an error takes over the normal
  +        | pipeline execution and generates an XML representation
  +        | of the error found and jump down here where you can futher
  +        | manipulate the error screen.
  +        +-->
  +    <!--map:handle-errors>
  +      TODO (SM): write a meaningful error handler
  +    </map:handle-errors-->
   
     </map:pipeline>
   
  
  
  

Mime
View raw message