cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: svn commit: r597742 - in /cocoon/trunk/blocks/cocoon-chaperon/cocoon-chaperon-sample/src/main/resources: COB-INF/ COB-INF/flow/ COB-INF/misc/ COB-INF/wiki/ META-INF/cocoon/spring/
Date Fri, 23 Nov 2007 22:23:55 GMT
Felix Knecht wrote:
> Hi Vadim
> 
> Is there any special reason to mount this block sample not like all others at /cocoon-{block}-sample
but at
> /samples/chaperon?

Yes! It makes more sense! :) If you have not noticed, it is not the only block 
mounted under /samples - it is just one more joining the others.

URI mapping was always one of Cocoon's strong sides, and there is completely no 
reason why samples should not embrace it.

Vadim


> Thanks
> Felix
> 
>>    <bean name="org.apache.cocoon.chaperon.sample.servlet" class="org.apache.cocoon.sitemap.SitemapServlet">
>> -    <servlet:context mount-path="/cocoon-chaperon-sample" context-path="blockcontext:/cocoon-chaperon-sample/">
>> +    <servlet:context mount-path="/samples/chaperon" context-path="blockcontext:/cocoon-chaperon-sample/">
>>        <servlet:connections>
>>          <entry key="style-default" value-ref="org.apache.cocoon.samples.style.default.servlet"/>
>>        </servlet:connections>


Mime
View raw message