cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r567329 - /cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java
Date Sat, 18 Aug 2007 21:12:47 GMT
Author: gkossakowski
Date: Sat Aug 18 14:12:45 2007
New Revision: 567329

URL: http://svn.apache.org/viewvc?view=rev&rev=567329
Log:
COCOON-2117: Mark and cleanup local context while putting sitemap variable at Object Model.

Modified:
    cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java

Modified: cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java?view=diff&rev=567329&r1=567328&r2=567329
==============================================================================
--- cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java
(original)
+++ cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java
Sat Aug 18 14:12:45 2007
@@ -231,6 +231,8 @@
         final String sitemapObjectModelPathPrefix = "sitemap";
         final String sitemapObjectModelNamedPathPrefix = sitemapObjectModelPathPrefix + "/$named$";
         
+        newObjectModel.markLocalContext();
+        
         this.mapStack.add(map);
 
         if (getLogger().isDebugEnabled()) {
@@ -292,6 +294,7 @@
         Object name = this.mapToName.get(map);
         this.mapToName.remove(map);
         this.nameToMap.remove(name);
+        this.newObjectModel.cleanupLocalContext();
     }
 
     /**



Mime
View raw message