cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: Standardizing resources in jars (was Re: [Proposal] Switch to Maven NOW)
Date Wed, 17 Aug 2005 13:33:20 GMT
Leszek Gawron wrote:


> This is not "block friendly" IMO. Imagine you have 2 cforms 
> applications in one cocoon every one having different forms.css
> it is easier then to implement own overrides and fallback to default 
> ones for ones developer does not care:
> subsitemap:
> <map:match pattern="cforms/css/**">
>     <map:read src="cocoon:/skin-resource/styles/{1}"/>
> </map:match>
> parent sitemap:
> <map:match pattern="cforms/**">
>     <map:read src="resource://org/apache/cocoon/forms/resources/{1}"/>
> </map:match>

My example shows how to allow a simple override in a one-application 
cocoon, and is meant as a cut/paste example in the root sitemap. Now you 
can override it as you want using your favorite patterns and protocols ;-)


Sylvain Wallez                        Anyware Technologies
Apache Software Foundation Member     Research & Technology Director

View raw message