Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 60003 invoked from network); 6 Nov 2004 00:10:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Nov 2004 00:10:52 -0000 Received: (qmail 18609 invoked by uid 500); 6 Nov 2004 00:10:49 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 18372 invoked by uid 500); 6 Nov 2004 00:10:48 -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 18358 invoked by uid 99); 6 Nov 2004 00:10:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [165.98.147.95] (HELO ags01.agsoftware.dnsalias.com) (165.98.147.95) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 05 Nov 2004 16:10:47 -0800 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.10) with ESMTP id iA60AhiR023589 for ; Fri, 5 Nov 2004 18:10:43 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id iA60AhjQ023588; Fri, 5 Nov 2004 18:10:43 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agssa.net using -f Received: from 80.219.8.172 (SquirrelMail authenticated user agallardo); by agssa.net with HTTP; Fri, 5 Nov 2004 18:10:43 -0600 (CST) Message-ID: <33537.80.219.8.172.1099699843.squirrel@80.219.8.172> In-Reply-To: <418C02CB.2000307@mm.st> References: <418C02CB.2000307@mm.st> Date: Fri, 5 Nov 2004 18:10:43 -0600 (CST) Subject: Re: Getting a return value from a cocoon:// source From: "Antonio Gallardo" To: dev@cocoon.apache.org User-Agent: SquirrelMail/1.4.3a-1 X-Mailer: SquirrelMail/1.4.3a-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Steven: What about a Session Attribute? Is this a solution? Can you explain more whta are you trying to do and maybe we can findanother solution. ;-) Best regards, Antonio Gallardo Steve Krulewitz dijo: > (I just sent this to the user list but Tim suggested I send it here as > well) > > Hey all -- > > I have a situation where I have a generator calling a cocoon:// source, > and I would like to be able to return a value to the calling pipeline. > My current solution is for the called pipeline to put this value into > the returned xml, and I then have a transformer that just scans through > the xml looking for that particular element. However, this is very slow > when there is a lot of xml returned. > > I've tried setting things into the request context from the called > pipeline, but the caller can never read it. Is there a trick to getting > the caller's request context in the called pipeline? > > If all else fails, is ThreadLocal a possibility? > > thanks, > -steve >