cziegeler 2004/01/07 07:10:38
Modified: src/java/org/apache/cocoon/components/cprocessor
TreeProcessor.java
Log:
Making global sitemap variables work (hopefully)
Revision Changes Path
1.8 +1 -1
cocoon-2.2/src/java/org/apache/cocoon/components/cprocessor/TreeProcessor.java
Index: TreeProcessor.java
===================================================================
RCS file:
/home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/cprocessor/TreeProcessor.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- TreeProcessor.java 7 Jan 2004 15:03:29 -0000 1.7
+++ TreeProcessor.java 7 Jan 2004 15:10:38 -0000 1.8
@@ -497,7 +497,7 @@
// and now check for new configurations
for(int m = 0; m < childs.length; m++) {
//FIXME - get the role
- final String r = null;
+ final String r = childs[m].getName();
//final String r =
this.roleManager.getRoleForName(childs[m].getName());
this.sitemapComponentConfigurations.put(r, new
ChainedConfiguration(childs[m],
(ChainedConfiguration)this.sitemapComponentConfigurations.get(r)));