-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Reinhard Poetz wrote: > Giacomo Pati wrote: >> I've had discussions with Felix (which is sitting next to me) about >> the issue that the mount path in >> each block is carved in stone in the SitemapServlet bean definition (I >> suppose it is not >> overwritable by Springs PropertyOverwrite mechanism we use as it is an >> attribute of our own servlet >> Spring extension thingy). > > You can override it by > > [block-servlet-bean-id]/contextPath > > See the output of the rcl goal > (./target/rcl/webapp/WEB-INF/cocoon/spring/rcl.properties) of the Cocoon > Maven plugin which already makes use of this configuration feature. Ok, I wasn't aware that not only properties but even attributes of custom Spring extensions are overwritable. But still the question about whether the mount path information should be made available outside the blockcontext for i.e. the cocoon-webapp module. - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) iD8DBQFGSuVBLNdJvZjjVZARAkcTAKCxmteUi2tgtllKBjcn+c+coRdZBgCeIlzl mQizweLhemYpKQlCpuoTXQE= =MT5E -----END PGP SIGNATURE-----