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/webdav/samples/davmap/styles collection2html.xsl
Date Fri, 31 Oct 2003 17:13:02 GMT
unico       2003/10/31 09:13:02

  Modified:    src/blocks/webdav/samples/davmap sitemap.xmap
               src/blocks/webdav/samples/davmap/styles collection2html.xsl
  Log:
  use properties file module for directory browser footer
  
  Revision  Changes    Path
  1.8       +7 -4      cocoon-2.1/src/blocks/webdav/samples/davmap/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/webdav/samples/davmap/sitemap.xmap,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- sitemap.xmap	30 Oct 2003 17:08:34 -0000	1.7
  +++ sitemap.xmap	31 Oct 2003 17:13:02 -0000	1.8
  @@ -4,10 +4,11 @@
   <!-- =========================== Components ================================ -->
   
     <map:components>
  +  
       <map:generators default="file">
         <map:generator 
           name="traverse" 
  -        src="org.apache.cocoon.generation.TraversableGenerator" 
  +        src="org.apache.cocoon.generation.TraversableSourceDescriptionGenerator" 
           logger="generator.traverse" 
           label="content" 
           pool-min="2" pool-grow="2" pool-max="16"
  @@ -82,7 +83,7 @@
         <!--+ 
             | If you need to check or change the XML that is being PUT
             | you can do that here. This is the pipeline that will
  -          | generate the input for the PUT method
  +          | generate the input for the PUT method.
             + -->
         <map:match pattern="request/PUT">
           <map:generate type="stream" />
  @@ -100,8 +101,9 @@
       
   <!-- ========================= Public Resources =========================== -->
       
  -    <!--map:pipeline type="event-caching"-->
  -    
  +    <!--
  +    <map:pipeline type="event-caching">
  +    -->
       <map:pipeline type="caching">
         
         <map:match pattern="test">
  @@ -133,6 +135,7 @@
           </map:generate>
           <map:transform src="styles/collection2html.xsl">
             <map:parameter name="requestURI" value="{request:requestURI}" />
  +          <map:parameter name="footer" value="{cocoon-properties:fullname} {cocoon-properties:released.version}"
/>
           </map:transform>
           <map:serialize type="html"/>
         </map:match>
  
  
  
  1.2       +2 -1      cocoon-2.1/src/blocks/webdav/samples/davmap/styles/collection2html.xsl
  
  Index: collection2html.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/webdav/samples/davmap/styles/collection2html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- collection2html.xsl	30 Oct 2003 14:36:13 -0000	1.1
  +++ collection2html.xsl	31 Oct 2003 17:13:02 -0000	1.2
  @@ -4,6 +4,7 @@
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xmlns:collection="http://apache.org/cocoon/collection/1.0">
     
  +  <xsl:param name="footer" />
     <xsl:param name="requestURI"></xsl:param>
     <xsl:variable name="adjustedRequestURI">
       <xsl:choose>
  @@ -39,7 +40,7 @@
             </xsl:apply-templates>
             <tr>
               <td colspan="4" bgcolor="#cccccc">
  -              <font size="-1">Powered by Cocoon</font>
  +              <font size="-1"><xsl:value-of select="$footer" /></font>
               </td>
             </tr>
           </table>
  
  
  

Mime
View raw message