I guess you wanted to apply this to the branch and not to the release?
Carsten
[EMAIL PROTECTED] wrote:
Author: giacomo Date: Tue Feb 8 03:28:21 2005 New Revision: 152661
URL: http://svn.apache.org/viewcvs?view=rev&rev=152661
Log:
Added input module that resolves to a real path similar to the RealPathModules but by use of a SourceResolver instead of the Context object (which always resolves to the context path). This allows to mount apps external of the servlet context path and still have a correct real path resolved in respect to the sitemap calling the module. As I couldn't fix the RealPathModule in a backward compatible way, becasuse {realpath:/} and {realpath:.} both resolve to the context root whereas {contextpath:/} resolves to the context root but {contextpath:.} resolves to the path of the respective sitemap, I've choosen to create a new Module for it.
Added: cocoon/tags/RELEASE_2_1_6/src/java/org/apache/cocoon/components/modules/input/ContextPathModule.java Modified: cocoon/tags/RELEASE_2_1_6/src/webapp/WEB-INF/cocoon.xconf
-- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
