joerg       2004/02/18 09:33:06

  Modified:    src/webapp sitemap.xmap
  Log:
  show a "real" error page on invalid continuation
  
  Revision  Changes    Path
  1.46      +4 -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.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- sitemap.xmap      11 Feb 2004 21:36:42 -0000      1.45
  +++ sitemap.xmap      18 Feb 2004 17:33:06 -0000      1.46
  @@ -605,9 +605,10 @@
           </map:when>
   
           <map:when test="invalid-continuation">
  -          <map:generate src="not-found.xml"/>
  -          <map:transform src="welcome.xslt">
  +          <map:generate type="notifying"/>
  +          <map:transform src="stylesheets/system/error2html.xslt">
               <map:parameter name="contextPath" value="{request:contextPath}"/>
  +            <map:parameter name="pageTitle" value="Invalid Continuation"/>
             </map:transform>
             <map:serialize status-code="404"/>
           </map:when>
  
  
  

Reply via email to