Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 79305 invoked from network); 26 Dec 2003 12:29:13 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Dec 2003 12:29:13 -0000 Received: (qmail 5139 invoked by uid 500); 26 Dec 2003 12:29:10 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 4851 invoked by uid 500); 26 Dec 2003 12:29:08 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 4836 invoked from network); 26 Dec 2003 12:29:08 -0000 Received: from unknown (HELO smtp1.xs4all.be) (195.144.64.135) by daedalus.apache.org with SMTP; 26 Dec 2003 12:29:08 -0000 Received: from outerthought.org (195-144-088-022.dyn.adsl.xs4all.be [195.144.88.22]) (authenticated bits=0) by smtp1.xs4all.be (8.12.9/8.12.9) with ESMTP id hBQCT39a004757 for ; Fri, 26 Dec 2003 13:29:03 +0100 Message-ID: <3FEC298D.5060501@outerthought.org> Date: Fri, 26 Dec 2003 13:29:01 +0100 From: Marc Portier Organization: Outerthought User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Make continuation id available to all XSLTs References: <1E0CC447E59C974CA5C7160D2A2854EC02FECBD1@SJMEMXMB04.stjude.sjcrh.local> In-Reply-To: <1E0CC447E59C974CA5C7160D2A2854EC02FECBD1@SJMEMXMB04.stjude.sjcrh.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hunsberger, Peter wrote: > Sylvain Wallez writes: > > >>Hunsberger, Peter wrote: >> >> > >>On the other hand, I don't think that stylesheets generally need the >>continuation id, and that always including it would make many >>pipelines >>non-cacheable when they actually are. >> >>As a conclusion, I think it's better to pass the continuation id as a >> where needed... > > > All right, I'll bite, how would you go about doing that? That was my > first thought but I couldn't find a way to do that... > hm. I thought there was an inputmodule for this. I just checked the cocoon.xconf and found there a declared JXPathMetaModule under the name "jxpath" which lead me to believe something along the lines of would do it but that doesn't seem to work :-( delving in the code none of the modules seem to make the classic flow parameters available (e.g. for comparison jxtemplate knows about $continuation, $request, $session IIRC) but maybe my understanding of modules is wrong to even expect this? in any case, faster workaround might be to have the continuation-id inserted earlier in the xml datastream (using jxtemplate, woody or whatever) HTH, -marc= -- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ mpo@outerthought.org mpo@apache.org