cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r683397 - /cocoon/whiteboard/corona/trunk/corona-controller/src/main/java/org/apache/cocoon/corona/controller/node/CallNode.java
Date Wed, 06 Aug 2008 20:33:38 GMT
Author: reinhard
Date: Wed Aug  6 13:33:38 2008
New Revision: 683397

URL: http://svn.apache.org/viewvc?rev=683397&view=rev
Log:
. get access to the current base-url of a request also in controller implementations

Modified:
    cocoon/whiteboard/corona/trunk/corona-controller/src/main/java/org/apache/cocoon/corona/controller/node/CallNode.java

Modified: cocoon/whiteboard/corona/trunk/corona-controller/src/main/java/org/apache/cocoon/corona/controller/node/CallNode.java
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-controller/src/main/java/org/apache/cocoon/corona/controller/node/CallNode.java?rev=683397&r1=683396&r2=683397&view=diff
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-controller/src/main/java/org/apache/cocoon/corona/controller/node/CallNode.java
(original)
+++ cocoon/whiteboard/corona/trunk/corona-controller/src/main/java/org/apache/cocoon/corona/controller/node/CallNode.java
Wed Aug  6 13:33:38 2008
@@ -42,6 +42,8 @@
             parameters.put(entry.getKey(), resolvedValue);
         }
 
+        parameters.put("baseUrl", invocation.resolve(""));
+
         invocation.installComponent("controller:" + this.wrapperType, parameters);
         return InvocationResult.COMPLETED;
     }



Mime
View raw message