/[Apache-SVN]/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/modules/input/ContextPathModule.java
ViewVC logotype

Diff of /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/modules/input/ContextPathModule.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/modules/input/ContextPathModule.java	2005/04/24 00:41:33	164433
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/modules/input/ContextPathModule.java	2005/04/24 01:01:06	164434
@@ -32,7 +32,7 @@ import java.util.Map;
 import java.util.Vector;
 
 /**
- * ContextRealPathModule provides a real filesystem path for a virtual
+ * ContextPathModule provides a real filesystem path for a virtual
  * context-relative path.  If this mapping cannot be performed (e.g. Cocoon is
  * running in a .war file), <code>null</code> will be returned. Compared to
  * the {@link RealPathModule} this module is able to provide the "real" absolute 
@@ -45,9 +45,9 @@ import java.util.Vector;
  * keep our images:
  * </p>
  * <p>
- * A absolute path argument like {contextrealpath:/resources} will be resolved 
+ * A absolute path argument like {contextpath:/resources} will be resolved  
  * from the root context path (ie. COCOON_HOME/build/webapp) whereas a relative
- * path attribute like {contextrealpath:./resources} will be resolved from the
+ * path attribute like {contextpath:./resources} will be resolved from the
  * location of the sitemap that uses it. If that sitemap is mounted outside the
  * usual COCOON_HOME/build/webapp the path resolved with this modules points to
  * the correct location.
@@ -55,7 +55,7 @@ import java.util.Vector;
  * <p>
  * <pre>
  * <map:transform src="skins/{forrest:skin}/xslt/fo/document2fo.xsl">
- *    <map:parameter name="basedir" value="{contextrealpath:resources}/"/>
+ *    <map:parameter name="basedir" value="{contextpath:resources}/"/>
  * </map:transform>
  *
  * And then prepend this to all image paths:

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26