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, 17 Jan 2013 09:23:26 GMT
On 14/01/2013 16:20, Thorsten Scherler wrote:
> [...]
>>> 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
>>
>
> Hi, I just tried the above in another project but using it in the 
> sitemap I get
> java.net.MalformedURLException: invalid url: 
> classpath:lib/api-0.1-SNAPSHOT.jar!/COB-INF/resources/xsl/intern-to-solr.xsl 
> (java.net.MalformedURLException: unknown protocol: classpath)
>
> I am trying to use a central module to store common xsl that I need 
> both in cocoon and in my java code.

Hi Thorsten,
sorry for the delay, I am quite busy in this period on other projects.

Anyway, I'll try to check and get back asap to you.

Regards.

-- 
Francesco Chicchiriccò

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


Mime
View raw message