Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 96345 invoked from network); 17 Oct 2005 11:02:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2005 11:02:57 -0000 Received: (qmail 86907 invoked by uid 500); 17 Oct 2005 11:02:50 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 86830 invoked by uid 500); 17 Oct 2005 11:02:49 -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 86819 invoked by uid 99); 17 Oct 2005 11:02:49 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO [127.0.0.1]) (209.237.227.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 04:02:49 -0700 Message-ID: <4353857C.8020106@apache.org> Date: Mon, 17 Oct 2005 13:05:32 +0200 From: Carsten Ziegeler User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Cocoon-Dev Subject: Dependency between Ajax block and cforms block X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-15 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 I briefly looked at the Ajax and the cforms block and I think there are two problems here: a) cforms depends on ajax block (which is ok), so why is there a "CForms: new Object()," in the cocoon-ajax.js? Shouldn't the ajax block be independent of the cforms block? b) If you're not using ajax (for example if you just upgrade your apps to 2.1.8), you get a java script error ("Cocoon is not defined") if the ajax js script can't be loaded by the browser - or if it is not included in the page. Can we get rid of this js error? As I don't want to use Ajax in my forms I don't want to have to download all those js just to make the browser happy. Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/