Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 34300 invoked from network); 12 Jun 2007 13:41:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2007 13:41:31 -0000 Received: (qmail 50681 invoked by uid 500); 12 Jun 2007 13:41:18 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 50577 invoked by uid 500); 12 Jun 2007 13:41:18 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 50556 invoked by uid 99); 12 Jun 2007 13:41:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 06:41:18 -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 Jeffrey.A.Schmitz@boeing.com designates 130.76.96.56 as permitted sender) Received: from [130.76.96.56] (HELO stl-smtpout-01.boeing.com) (130.76.96.56) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 06:41:12 -0700 Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by stl-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id l5CDepX3011117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 12 Jun 2007 08:40:52 -0500 (CDT) Received: from slb-av-01.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id l5CDep0V019650 for ; Tue, 12 Jun 2007 06:40:51 -0700 (PDT) Received: from xch-mwbh-02.mw.nos.boeing.com (xch-mwbh-02.mw.nos.boeing.com [130.247.200.9]) by slb-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id l5CDeglP019476 for ; Tue, 12 Jun 2007 06:40:50 -0700 (PDT) Received: from XCH-MW-4V2.mw.nos.boeing.com ([130.247.200.20]) by xch-mwbh-02.mw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 12 Jun 2007 08:40:48 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Flowscript Continuation ID parameter Date: Tue, 12 Jun 2007 08:40:48 -0500 Message-ID: <542256E3D10C3C4B81D78ABD2DBDB20EF06F05@XCH-MW-4V2.mw.nos.boeing.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Flowscript Continuation ID parameter thread-index: Aces90kZeHRa+x2sTUSC4j61QOHRlg== From: "Schmitz, Jeffrey A" To: X-OriginalArrivalTime: 12 Jun 2007 13:40:48.0648 (UTC) FILETIME=[4916D080:01C7ACF7] X-Virus-Checked: Checked by ClamAV on apache.org Hello, I see how the continuration ID can be accessed from within a .jx file as follows:
As long as the .jx file is processed by the JXTemplateGenerator, e.g. =20 However, as part of my page "flow" I want to invoke an already existing transform that uses the file generator (not the JXTemplateGenerator), after which I want to re-enter my flowscript. My solution is to manually pass the continuation ID as a parameter (parameter 4) to the existing sitemap pipeline entry for my current transform as follows: var uri =3D inputType + "In/" + inputFile + "/" + inputType + "In.trans/" + cocoon.continuation.id; cocoon.sendPageAndWait(uri); This URI matches the following, non JXTemplateGenerator pipline, the fourth parameter being the continuation ID, which in turn is passed into the xsl/importResult.xsl script: And then I use the continuation ID parameter in the return page xsl (xsl/importResult.xsl) as follows to create a submit action that will re-invoke my flowscript from the previous continuation point: Is there anything wrong with this approach (it seems to work)? Is there a better way? Thanks, Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org