cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò <ilgro...@apache.org>
Subject Re: [DISCUSS] Fix for COCOON3-105
Date Thu, 20 Dec 2012 13:05:41 GMT
On 20/12/2012 13:45, Leonardo Miceli wrote:
> Hello
>
> On 12/07/2012 01:33 PM, Francesco Chicchiriccò wrote:
>> On 07/12/2012 13:09, Jos Snellings wrote:
>>> In shorthand: What are the implications then?
>>
>
> (...)
>
>>> Bottomline:
>>> - "a block context" is addressable within the sitemap
>>>   load resource from another block context is possible via 'classpath'.
>>>   The root of every block is available on the classpath?
>>
>> Everything should be working in the same way.
>>
>
> Can you please tell me how can I address block_A's sitemap from from 
> block_B's sitemap?
> I have used *blockcontext:/* for this before.

This should work In the same way as in *servlet-service.xml, e.g. by 
replacing

blockcontext:/otherblock/BLA

with

jar:classpath:lib/otherblock.jar!/COB-INF/BLA


Could you provide some more concrete example, in case this is not just 
working? Thanks.

Regards.

-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/


Mime
View raw message