cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Portier <...@outerthought.org>
Subject Re: 2.2 using cocoon-ajax-impl
Date Tue, 22 May 2007 16:04:22 GMT
hm,
looks like I'm stumbling over a partial answer:

http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-impl/src/main/resources/META-INF/cocoon/spring/cocoon-ajax-impl-blockServlet.xml?view=markup

I suppose the 2nd bean over there will cater for the 'system' references?



although I don't see the matching sitemap to deliver the goodies?

http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-impl/src/main/resources/COB-INF/system/sitemap.xmap?view=markup


will need some more digging later,
any upfront clarifications welcome


regards,
-marc=




Marc Portier wrote:
> Hi there,
> 
> I have a block that is dependant on cocoon-ajax-impl and wants to use 
> the JSON script in there:
> 
> before http://svn.apache.org/viewvc?view=rev&revision=534148
> 
> the script was loaded via
> cocoon.load("resource://org/apache/cocoon/ajax/system/System.JSON.js");
> 
> today it seems we should be using:
> cocoon.load("resource://COB-INF/system/System.JSON.js");
> 
> which looks a bit odd, no?
> 
> am I missing some 2.2. feature to read in block-contexts? or
> wouldn't we rather provide some servlet:ajax:resource/internal/**
> into these things?
> 
> regards,
> -marc=
> 

Mime
View raw message