Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 635 invoked from network); 22 May 2007 16:04:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2007 16:04:55 -0000 Received: (qmail 84610 invoked by uid 500); 22 May 2007 16:04:59 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 84542 invoked by uid 500); 22 May 2007 16:04:59 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 84531 invoked by uid 99); 22 May 2007 16:04:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 09:04:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of marc.portier@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 09:04:49 -0700 Received: by ug-out-1314.google.com with SMTP id m3so236249ugc for ; Tue, 22 May 2007 09:04:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=nkmziVJKeu1TSquPCezOy1/8N85it4oYFnU3o9mpJO+lCROhrmiXBlSnOjrK8CTRIzoYv8XOCFHjsrT0TrcWFnBfxR4neA3HQLukviUiCq2BzTEL+w2gx7fWFaGNTAdMBdWB5Ugf4+gTPVIi5pTUyoNEE6Oxdl1bCtucSOVt8zM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=GiCksu3N9J8MeqHuDIMggXYMnLRL4hPOSsCeKHk63pxBMr/EzgYtN2shwF4BWNecYOw8C/MqBZwFwyFmjwSUlUs2UrwM2Db7Pc9pmKHDejmQoDMz3s6O62vxfAqtpABE4o0HlDv8k0wygf/yX6qbprB7uQEERzfVz0LcqC1e2o8= Received: by 10.66.243.2 with SMTP id q2mr686409ugh.1179849866235; Tue, 22 May 2007 09:04:26 -0700 (PDT) Received: from ?193.74.194.98? ( [193.75.212.66]) by mx.google.com with ESMTP id 53sm1908389ugn.2007.05.22.09.04.24; Tue, 22 May 2007 09:04:25 -0700 (PDT) Message-ID: <46531486.10505@outerthought.org> Date: Tue, 22 May 2007 18:04:22 +0200 From: Marc Portier Organization: Outerthought User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: 2.2 using cocoon-ajax-impl References: <4652D8C2.3060402@outerthought.org> In-Reply-To: <4652D8C2.3060402@outerthought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Marc Portier X-Virus-Checked: Checked by ClamAV on apache.org 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= >