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 Thu, 16 Aug 2001 07:51:37 GMT
cziegeler    01/08/16 00:51:37

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        sitemap.xsl
  Log:
  Removed obsolete push/pop calls
  
  Revision  Changes    Path
  1.35      +6 -11     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.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- sitemap.xsl	2001/08/16 02:36:27	1.34
  +++ sitemap.xsl	2001/08/16 07:51:37	1.35
  @@ -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.34 2001/08/16 02:36:27 vgritsenko Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.35 2001/08/16 07:51:37 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"/>";
  @@ -1185,16 +1185,11 @@
         </xsl:choose>
       </xsl:variable>
   
  -    environment.pushURI(null, XSPRequestHelper.getSitemapURI(objectModel));
  -    try{
  -      <!-- generate the code to invoke the sitemapManager which handles delegation of
control to sub sitemaps -->
  -      if (internalRequest)
  -        return sitemapManager.invoke (this.manager, environment, substitute(listOfMaps,"<xsl:value-of
select="@uri-prefix"/>"), substitute(listOfMaps,"<xsl:value-of select="@src"/>"),
<xsl:value-of select="$check-reload"/>, <xsl:value-of select="$reload-method"/>,
pipeline, eventPipeline);
  -      else
  -        if (true) return sitemapManager.invoke (this.manager, environment, substitute(listOfMaps,"<xsl:value-of
select="@uri-prefix"/>"), substitute(listOfMaps,"<xsl:value-of select="@src"/>"),
<xsl:value-of select="$check-reload"/>, <xsl:value-of select="$reload-method"/>);
  -    }finally{
  -      environment.popURI();
  -    }
  +    <!-- generate the code to invoke the sitemapManager which handles delegation of
control to sub sitemaps -->
  +    if (internalRequest)
  +      return sitemapManager.invoke (this.manager, environment, substitute(listOfMaps,"<xsl:value-of
select="@uri-prefix"/>"), substitute(listOfMaps,"<xsl:value-of select="@src"/>"),
<xsl:value-of select="$check-reload"/>, <xsl:value-of select="$reload-method"/>,
pipeline, eventPipeline);
  +    else
  +      if (true) return sitemapManager.invoke (this.manager, environment, substitute(listOfMaps,"<xsl:value-of
select="@uri-prefix"/>"), substitute(listOfMaps,"<xsl:value-of select="@src"/>"),
<xsl:value-of select="$check-reload"/>, <xsl:value-of select="$reload-method"/>);
     </xsl:template> <!-- match="map:mount" -->
   
     <!-- generate the code to redirect a request -->
  
  
  

----------------------------------------------------------------------
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