Re: Cocoon22: Can 2 blocks map to the same mount path?

2008-06-17 Thread Rainer Pruy
Dominic Tootell schrieb: > Thank you for that Reinhard, > That super class stuff answers another question I had :-) > > > What I have rather than inheritance is two actually two implementations. For > example: > > http://localhost:/recommendations?url=blah > http://localhost:/recomme

RE: Cocoon22: Can 2 blocks map to the same mount path?

2008-06-17 Thread Dominic Tootell
To: users@cocoon.apache.org Subject: Re: Cocoon22: Can 2 blocks map to the same mount path? Dominic Tootell wrote: > Hi there, > > Is it possible to have 2 cocoon blocks that map to the same mount-path > in src/main/resources/META-INF/cocoon/spring/block-servlet-service.

Re: Cocoon22: Can 2 blocks map to the same mount path?

2008-06-16 Thread Reinhard Pötz
Dominic Tootell wrote: Hi there, Is it possible to have 2 cocoon blocks that map to the same mount-path in src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml? i.e. Block 1: class="org.apache.cocoon.sitemap.SitemapServlet"> context-path="blockcontext:/cmc-block1/"/>

Cocoon22: Can 2 blocks map to the same mount path?

2008-06-16 Thread Dominic Tootell
Hi there, Is it possible to have 2 cocoon blocks that map to the same mount-path in src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml? i.e. Block 1: Block 2: I've tried to get it working but so far with no success. Is there a property I can set on th