cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl
Date Sat, 08 Sep 2001 03:31:22 GMT
vgritsenko    01/09/07 20:31:22

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        sitemap.xsl
  Log:
  fix actions in error handler
  
  Revision  Changes    Path
  1.38      +4 -4      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.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- sitemap.xsl	2001/08/30 08:45:26	1.37
  +++ sitemap.xsl	2001/09/08 03:31:22	1.38
  @@ -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.37 2001/08/30 08:45:26 sylvain Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.38 2001/09/08 03:31:22 vgritsenko 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"/>";
  @@ -514,7 +514,7 @@
                 <xsl:when test="(./map:handle-errors[@type='404'])">
                   getLogger().warn("404, try to process the error page", e);
                   try {
  -                  return error_process_<xsl:value-of select="$pipeline-position"/>_404
(environment,
  +                  return error_process_<xsl:value-of select="$pipeline-position"/>_404
(redirector, environment,
                             environment.getObjectModel(), e, internalRequest);
                   } catch (Exception ex) {
                     getLogger().warn("Sitemap Error Process", ex);
  @@ -531,7 +531,7 @@
                 <xsl:when test="(./map:handle-errors[not(@type) or (@type='500')])">
                   getLogger().warn("Error, try to process the error page", e);
                   try {
  -                  return error_process_<xsl:value-of select="$pipeline-position"/>_500
(environment,
  +                  return error_process_<xsl:value-of select="$pipeline-position"/>_500
(redirector, environment,
                             environment.getObjectModel(), e, internalRequest);
                   } catch (Exception ex) {
                     getLogger().warn("Sitemap Error Process", ex);
  @@ -570,7 +570,7 @@
                 </xsl:otherwise>
               </xsl:choose>
             </xsl:variable>
  -          private boolean error_process_<xsl:value-of select="concat($pipeline-position,$type)"/>
(Environment environment, Map objectModel, Exception e, boolean internalRequest)
  +          private boolean error_process_<xsl:value-of select="concat($pipeline-position,$type)"/>
(SitemapRedirector redirector, Environment environment, Map objectModel, Exception e, boolean
internalRequest)
             throws Exception {
               EventPipeline eventPipeline = null;
               StreamPipeline pipeline = null;
  
  
  

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