cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl
Date Fri, 12 Oct 2001 08:47:23 GMT
cziegeler    01/10/12 01:47:22

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        sitemap.xsl
  Log:
  Fixed component handling in subsitemaps when invoked internally
  
  Revision  Changes    Path
  1.41      +4 -1      xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
  
  Index: sitemap.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- sitemap.xsl	2001/10/02 08:26:11	1.40
  +++ sitemap.xsl	2001/10/12 08:47:22	1.41
  @@ -124,7 +124,7 @@
        *
        * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
        * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  -     * @version CVS $Id: sitemap.xsl,v 1.40 2001/10/02 08:26:11 cziegeler Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.41 2001/10/12 08:47:22 cziegeler Exp $
        */
       public class <xsl:value-of select="@file-name"/> extends AbstractSitemap {
         static final String LOCATION = "<xsl:value-of select="translate(@file-path, '/',
'.')"/>.<xsl:value-of select="@file-name"/>";
  @@ -466,6 +466,9 @@
         public boolean process(Environment environment, StreamPipeline pipeline, EventPipeline
eventPipeline)
         throws Exception {
           getLogger().debug("processing internal sitemap request");
  +        // set the correct component manager
  +        pipeline.compose(this.manager);
  +        eventPipeline.compose(this.manager);
           return process (environment, pipeline, eventPipeline, true);
         }
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message