cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r327987 - /cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlockManager.java
Date Mon, 24 Oct 2005 07:16:19 GMT
Author: cziegeler
Date: Mon Oct 24 00:15:56 2005
New Revision: 327987

URL: http://svn.apache.org/viewcvs?rev=327987&view=rev
Log:
Make it compilable

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlockManager.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlockManager.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlockManager.java?rev=327987&r1=327986&r2=327987&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlockManager.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/blocks/BlockManager.java Mon Oct 24
00:15:56 2005
@@ -86,7 +86,7 @@
         ComponentContext newContext = new ComponentContext(context);
         // A block is supposed to be an isolated unit so it should not have
         // any direct access to the global root context
-        newContext.put(ContextHelper.CONTEXT_ROOT_URL, new URL(this.blockContext.getContextURL()));
+        newContext.put(ContextHelper.CONTEXT_ROOT_URL, new URL(this.blockContext.getContextURL().toExternalForm()));
         newContext.makeReadOnly();
 
         // Create block a service manager with the exposed components of the block



Mime
View raw message