cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap RedirectToNodeBuilder.java
Date Tue, 29 Apr 2003 08:25:19 GMT
sylvain     2003/04/29 01:25:19

  Modified:    src/java/org/apache/cocoon/components/treeprocessor/sitemap
                        RedirectToNodeBuilder.java
  Log:
  Remove constraint that forbids redirects in error handlers
  
  Revision  Changes    Path
  1.3       +1 -6      cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/RedirectToNodeBuilder.java
  
  Index: RedirectToNodeBuilder.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/RedirectToNodeBuilder.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RedirectToNodeBuilder.java	1 Apr 2003 21:25:09 -0000	1.2
  +++ RedirectToNodeBuilder.java	29 Apr 2003 08:25:19 -0000	1.3
  @@ -81,11 +81,6 @@
   
       public ProcessingNode buildNode(Configuration config) throws Exception {
           
  -        if (((SitemapLanguage)this.treeBuilder).isBuildingErrorHandler()) {
  -            throw new ConfigurationException("'map:redirect' is forbidden inside a 'map:handle-errors',
at "
  -            	+ config.getLocation());
  -        }
  -
           // Is it a redirect to resource ?
           this.resourceName = config.getAttribute("resource", null);
           if (this.resourceName != null) {
  
  
  

Mime
View raw message