Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 22872 invoked from network); 10 Feb 2006 22:41:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Feb 2006 22:41:38 -0000 Received: (qmail 86946 invoked by uid 500); 10 Feb 2006 22:41:37 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 86417 invoked by uid 500); 10 Feb 2006 22:41:35 -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 86406 invoked by uid 99); 10 Feb 2006 22:41:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2006 14:41:35 -0800 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 [212.27.42.36] (HELO smtp6-g19.free.fr) (212.27.42.36) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2006 14:41:34 -0800 Received: from [192.168.0.100] (lns-bzn-51f-81-56-134-235.adsl.proxad.net [81.56.134.235]) by smtp6-g19.free.fr (Postfix) with ESMTP id 01DEE180FB for ; Fri, 10 Feb 2006 23:41:13 +0100 (CET) Message-ID: <43ED1689.2090204@apache.org> Date: Fri, 10 Feb 2006 23:41:13 +0100 From: Sylvain Wallez User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Fine Tuning Ajax Handling in CForms References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; 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 Quoin Developers wrote: > Currently, it's all or nothing when it comes to using AJAX on a form. > With this enhancement, form widgets can be marked with ajax='false' />, and they will trigger a non-ajax form submission. > > I believe it is useful to give the developer control over which > widgets use AJAX and which do not. > Why do you need such flexibility? > Note that the patch files also include a fix to a separate AJAX issue. > > forms_onsubmitHandlers = null > > Causes problems when in AJAX mode - submit handlers are only called > the first time an ajax submit is called. Thereafter, the array of > handlers is null, and none are called. > Yeah, that's a problem. But we cannot keep it either, as some of the handlers are registered by widgets that are replaced by the update. The move to Dojo which I'm currently working on should solve this issue. Sylvain -- Sylvain Wallez Anyware Technologies http://bluxte.net http://www.anyware-tech.com Apache Software Foundation Member Research & Technology Director