Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 48698 invoked from network); 13 Dec 2005 01:25:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 01:25:39 -0000 Received: (qmail 56106 invoked by uid 500); 13 Dec 2005 01:25:37 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 56073 invoked by uid 500); 13 Dec 2005 01:25:36 -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 56062 invoked by uid 99); 13 Dec 2005 01:25:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 17:25:36 -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 agallardo@agssa.net designates 165.98.153.184 as permitted sender) Received: from [165.98.153.184] (HELO ags01.agssa.net) (165.98.153.184) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 17:25:35 -0800 Received: from [10.0.0.7] (apoyo.agssa.net [10.0.0.7]) by ags01.agssa.net (8.13.1/8.13.1) with ESMTP id jBD1Ovva003381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 12 Dec 2005 19:25:04 -0600 Message-ID: <439E22E9.6070707@agssa.net> Date: Mon, 12 Dec 2005 19:24:57 -0600 From: Antonio Gallardo Organization: AG Software, S. A. User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: RFC: Ajax Roadmap References: <609B1C73-907D-47B3-9E11-8E507DDEA863@apache.org> <439E1AD1.9050005@apache.org> In-Reply-To: <439E1AD1.9050005@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.5 (ags01.agssa.net [165.98.153.184]); Mon, 12 Dec 2005 19:25:04 -0600 (CST) Received-SPF: pass (ags01.agssa.net: 10.0.0.7 is whitelisted) receiver=ags01.agssa.net; client-ip=10.0.0.7; helo=[10.0.0.7]; envelope-from=agallardo@agssa.net; x-software=spfmilter 0.93 http://www.acme.com/software/spfmilter/; X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on agssa.net X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on ags01.agssa.net X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.0.4 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: >I think this global switch is a misconception. Can we change the meaning >to: "use ajax if it's enabled in the form *and* if the current browser >supports it?" Currently I only have the choice for switching ajax on for >*all* users. Now if they happen to have turned off javascript, they >simply can't use the form. >So I would prefer to have a detection mechanism, if the current browser >supports ajax or something like that. > > AFAIK, we have a detection mechanism at the browser level: http://svn.apache.org/viewcvs.cgi/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/resources/js/cforms.js?view=markup (see the end of the "cocoon.forms.submitForm", at the end we founda comment: "/// Non ajax-aware browser : regular submit"/ / Best Regards, Antonio Gallardo. / >Apart from that a general +1 for your ideas. > >Carsten > >