forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/conf cocoon.xconf
Date Thu, 26 Dec 2002 14:07:26 GMT
jefft       2002/12/26 06:07:26

  Modified:    src/resources/conf cocoon.xconf
  Log:
  Add a mapping from old {context:context} inputmodule syntax to new {request:contextPath},
thus delaying the day of reckoning when we break everyone's custom sitemaps
  
  Revision  Changes    Path
  1.9       +14 -1     xml-forrest/src/resources/conf/cocoon.xconf
  
  Index: cocoon.xconf
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/cocoon.xconf,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- cocoon.xconf	26 Dec 2002 08:33:12 -0000	1.8
  +++ cocoon.xconf	26 Dec 2002 14:07:25 -0000	1.9
  @@ -464,7 +464,20 @@
   	     <input-module name="request-attr"/>
   	     <input-module name="session-attr"/>
   	     <input-module name="defaults"/>
  -	  </component-instance>
  +       </component-instance>
  +
  +
  +       <!--
  +       For backwards-compat: interpret {context:context} as
  +       {request:contextPath}
  +       -->
  +       <component-instance
  +         class="org.apache.cocoon.components.modules.input.SimpleMappingMetaModule"
  +         logger="core.modules.mapper" name="context">
  +         <input-module name="request"/>
  +         <suffix>Path</suffix>
  +       </component-instance>
  +
   	  
      </input-modules>
   
  
  
  

Mime
View raw message