Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 80385 invoked from network); 3 Jul 2006 21:31:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jul 2006 21:31:23 -0000 Received: (qmail 52998 invoked by uid 500); 3 Jul 2006 21:31:21 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 52930 invoked by uid 500); 3 Jul 2006 21:31:21 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 52918 invoked by uid 99); 3 Jul 2006 21:31:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2006 14:31:21 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,FUZZY_AMBIEN,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of quoininc@gmail.com designates 72.14.214.205 as permitted sender) Received: from [72.14.214.205] (HELO hu-out-0102.google.com) (72.14.214.205) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2006 14:31:20 -0700 Received: by hu-out-0102.google.com with SMTP id 31so880423huc for ; Mon, 03 Jul 2006 14:30:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EnWpKU0yAbhPgc0DPz+APHk9FANEOzIW7aee2X3yVtkMTgUJBhyUKeoJ/GJhr35iBaFao8Di6Z6VZ/LvSowKVrNUdh9Shp7OLCvkmD7A+HKUQLFLpLSym0tWEEH0R1JK2whv/Gdhkn4eEUsX7K+wGZIhpC97qOfKFa1qIzxJ44Y= Received: by 10.70.20.18 with SMTP id 18mr6491958wxt; Mon, 03 Jul 2006 14:30:58 -0700 (PDT) Received: by 10.70.53.1 with HTTP; Mon, 3 Jul 2006 14:30:58 -0700 (PDT) Message-ID: Date: Mon, 3 Jul 2006 17:30:58 -0400 From: "Quoin Developers" To: dev@cocoon.apache.org Subject: Re: [CForms] Load/Save model events never send? In-Reply-To: <447C2E60.1010501@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <447B0811.2090707@apache.org> <447BF632.309@thebug.it> <447BFAA8.3080307@apache.org> <447BFEEE.1060408@thebug.it> <447C1806.3060807@apache.org> <447C2E60.1010501@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Carsten, I think that I've run into a problem with the change to Form. I used to be able to do something like this in my flowscript while (!done) { form.load(model); form.showForm("formTemplate"); form.save(model); } Now, if I do this I get an exception "Cannot load form in phase ProcessingPhase[Save model=3]" thrown from the informStartLoadingModel() callback method. Perhaps the phase should be set back to loading in informEndSavingModel() (as the comment suggests), or perhaps the form should be able to be in a lax processing phase enforcement mode. The basic question - what are we trying to protect from by enforcing the particular ProcessingPhase lifecycle? Regards, Eric Meyer