On Tue, 2007-11-20 at 12:52 +0100, Andreas Hartmann wrote:
> Hi Lenya devs,
> 
> in a custom publication I'm facing the situation that I have to override 
> single pipelines from the default publication sitemap. Since the 
> pipelines are called using cocoon:/ (with a single slash), I can't use 
> the common pattern of mounting the default publication sitemap at the 
> end of my custom sitemap.
> 
> I think a quite convenient solution would be to mount a custom sitemap 
> at the beginning of the default publication sitemap:
> 
>      <map:pipeline>
>        <map:select type="resource-exists">
>          <map:when test="{fallback:custom.xmap}">
>            <map:mount src="{fallback:custom.xmap}" pass-through="true"/>
>          </map:when>
>        </map:select>
>      </map:pipeline>
> 
> Maybe we can provide something like this in 2.0.1.
> 
> WDYT?

Sounds good.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to