cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/slide/samples sitemap.xmap
Date Wed, 25 Feb 2004 09:50:13 GMT
unico       2004/02/25 01:50:13

  Modified:    src/blocks/slide/samples sitemap.xmap
  Log:
  no more groups management (using ACL equivalent roles) and prevent infinite loop on unmatched
sendpage calls
  
  Revision  Changes    Path
  1.21      +5 -2      cocoon-2.1/src/blocks/slide/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/slide/samples/sitemap.xmap,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- sitemap.xmap	30 Jan 2004 10:08:05 -0000	1.20
  +++ sitemap.xmap	25 Feb 2004 09:50:13 -0000	1.21
  @@ -131,7 +131,6 @@
          <map:aggregate element="document" label="content">
            <map:part src="cocoon:/screens/permissions/{1}" />
            <map:part src="cocoon:/screens/privileges/{1}" />
  -         <map:part src="cocoon:/screens/groups/{1}" />
            <map:part src="cocoon:/screens/users/{1}" />
            <map:part src="cocoon:/screens/roles/{1}" />
            <map:part src="cocoon:/description/{1}" />
  @@ -141,7 +140,6 @@
            <map:parameter name="path" value="{1}" />
            <map:parameter name="userspath" value="{slide-config:/userspath}" />
            <map:parameter name="rolespath" value="{slide-config:/rolespath}" />
  -         <map:parameter name="groupspath" value="{slide-config:/groupspath}" />
            <map:parameter name="actionspath" value="{slide-config:/actionspath}" />
          </map:transform>
          <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
  @@ -181,6 +179,11 @@
            <map:parameter name="contextPath" value="{request:contextPath}"/>
          </map:transform>
          <map:serialize type="html"/>
  +     </map:match>
  +     
  +     <!-- catch unmatched sendpage -->
  +     <map:match pattern="**">
  +       <map:read src="none" status-code="404" />
        </map:match>
        
      </map:pipeline>
  
  
  

Mime
View raw message