Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 88360 invoked from network); 23 Nov 2004 20:32:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Nov 2004 20:32:03 -0000 Received: (qmail 17357 invoked by uid 500); 23 Nov 2004 20:32:01 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 17273 invoked by uid 500); 23 Nov 2004 20:32:00 -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 17256 invoked by uid 99); 23 Nov 2004 20:32:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (hermes.apache.org: local policy) Received: from [63.249.95.37] (HELO mail.cruzio.com) (63.249.95.37) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 12:31:58 -0800 Received: from [192.168.0.100] (dsl3-63-249-85-35.cruzio.com [63.249.85.35]) by mail.cruzio.com with ESMTP id iANKVeRR022103 for ; Tue, 23 Nov 2004 12:31:40 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <41A3939E.6010100@reverycodes.com> References: <41A3939E.6010100@reverycodes.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <58076549-3D8E-11D9-B496-000393539234@pcextremist.com> Content-Transfer-Encoding: 7bit From: Miles Elam Subject: Re: [RT] function sources Date: Tue, 23 Nov 2004 12:29:15 -0800 To: dev@cocoon.apache.org X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Nov 23, 2004, at 11:46 AM, Vadim Gritsenko wrote: > Proposed URI syntax: > > script:myMethod(param1, param2, param3) Yes! Much clearer, and it fits well with the existing schema. Still has an issue with escaping commas from the parameters if you're passing values from the sitemap matcher. Perhaps that could be seen as a sane matcher parameter issue? I'm still unclear on how to hook into flow from here. Are the default flow objects (cocoon, continuation, etc.) passed on script initialization? I would imagine so since the request and continuation values by definition have to be unique for each client request. So where does this variable injection occur? Behind the scenes in the flow interpreter itself or further up the chain closer to the flow function caller? - Miles Elam