Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 11684 invoked from network); 20 Jan 2006 14:51:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jan 2006 14:51:48 -0000 Received: (qmail 76479 invoked by uid 500); 20 Jan 2006 14:51:41 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 76422 invoked by uid 500); 20 Jan 2006 14:51:41 -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 76408 invoked by uid 99); 20 Jan 2006 14:51:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2006 06:51:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ottosmops@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO zproxy.gmail.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2006 06:51:40 -0800 Received: by zproxy.gmail.com with SMTP id l8so476306nzf for ; Fri, 20 Jan 2006 06:51:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=pJILutzr91aF5OTcHIQ5r73uWskiFx4ekUmhEJN0RTTztsk7R6z1De4uooF1EFQkHXTIEZeqyWohoQpEofqCytgH1f/lFcfeOcdN6us/FBZh0Hf4VwfsMiwKrtYvWlflO4EYpRE7kjAH7deIQDeJJxHxlfVx+xKgUAdHYf0cReg= Received: by 10.36.34.11 with SMTP id h11mr1418317nzh; Fri, 20 Jan 2006 06:51:19 -0800 (PST) Received: from ?192.168.2.32? ( [213.160.80.6]) by mx.gmail.com with ESMTP id 10sm573820nzo.2006.01.20.06.51.18; Fri, 20 Jan 2006 06:51:19 -0800 (PST) Message-ID: <43D0F8E7.4080109@gmail.com> Date: Fri, 20 Jan 2006 15:51:19 +0100 From: christian bindeballe User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.12) Gecko/20050923 Thunderbird/1.0.7 Mnenhy/0.7.3.0 X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: adding data to a file, per flow? Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hello list. I have the following setup. I have a form and the data entered into that form is saved to a file. this is done using the bindings_example.js and the form2simpleXML example. each time someone enters data into the form and submits it, this data is written to a file. what I want, is a second file, that has as elements the data from the form, as in this: widget data from a 1st submit widget data from a 2nd submit widget data from a 3rd submit so I would have the file that contains the submitted data not be renamed but overwritten every time someone submits data. how can I accomplish that the submitted data is not just written to one file but also that this data (from the file) is appended to the other file (as the one described above)? for example I would call a pipeline after writing the widget data to the file, that would have a SourceWrite Transformer in it that appends the widget-data to the list-file. but that means that I have to have the - and other tags in the file that contains the original form data. that to me seems impossible because I don't know where and how I could put it in a definition file without getting errors on calling the form. putting it in the template also does not make the - stuff be included in the saved widget data :( does someone know how I could do the above? maybe I am missing something, but it seems to me as if it shouldn't be so difficult, but I cannot think of a way to make this work. also, I hope that I could make myself clear with what I want to achieve... best regards, christian --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org