Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 54812 invoked from network); 29 Apr 2006 22:26:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Apr 2006 22:26:40 -0000 Received: (qmail 40536 invoked by uid 500); 29 Apr 2006 22:26:35 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 40469 invoked by uid 500); 29 Apr 2006 22:26:34 -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 40458 invoked by uid 99); 29 Apr 2006 22:26:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Apr 2006 15:26:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [82.153.252.24] (HELO mra02.ch.as12513.net) (82.153.252.24) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Apr 2006 15:26:33 -0700 Received: from localhost (localhost [127.0.0.1]) by mra02.ch.as12513.net (Postfix) with ESMTP id 731A6D421C for ; Sat, 29 Apr 2006 23:26:10 +0100 (BST) Received: from mra02.ch.as12513.net ([127.0.0.1]) by localhost (mra02.ch.as12513.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20912-01-8 for ; Sat, 29 Apr 2006 23:26:09 +0100 (BST) Received: from [192.168.0.2] (unknown [82.152.178.248]) by mra02.ch.as12513.net (Postfix) with ESMTP id C199AD41D5 for ; Sat, 29 Apr 2006 23:26:09 +0100 (BST) Message-ID: <4453E800.6010908@didm.co.uk> Date: Sat, 29 Apr 2006 23:26:08 +0100 From: Peter Sparkes Reply-To: peter@didm.co.uk User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: CForms - Binding to one of Multiple Records References: <445227FE.9010601@didm.co.uk> <6a4c02690604291049i24282aacoc94fc7b5d30ab5bd@mail.gmail.com> In-Reply-To: <6a4c02690604291049i24282aacoc94fc7b5d30ab5bd@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Eclipse VIRUSshield at eclipse.net.uk X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Ben, Thank you - but I don't know how to get the "recordId" from the pipeline into the binding document. Can you please help Peter > On 28/04/06, Peter Sparkes wrote: > >> Hi >> >> I have an xml file containing multiple records of identical structure - >> I want to use CForms to allow uses to update individual records, >> selected by its ID. >> >> Please, is it possible to bind a CForm to one of many records in the >> file and if so how? > > > If you serve the binding file through a pipeline then you can > customise the path: > > path="/records/record[@id=$(recordId)]" > > > recordId can be a parameter passed in from the sitemap. > > Ben Pope > -- > I'm not just a number. To many, I'm known as a string... --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org