Felix Knecht wrote:
Hi VadimIs 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>
