From dev-return-98600-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Thu Mar 13 20:20:50 2008 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 70328 invoked from network); 13 Mar 2008 20:20:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2008 20:20:50 -0000 Received: (qmail 51775 invoked by uid 500); 13 Mar 2008 20:20:46 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 51712 invoked by uid 500); 13 Mar 2008 20:20:46 -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 51701 invoked by uid 99); 13 Mar 2008 20:20:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2008 13:20:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2008 20:19:55 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JZtuP-00030R-0e for dev@cocoon.apache.org; Thu, 13 Mar 2008 20:20:13 +0000 Received: from host42-119-static.91-82-b.business.telecomitalia.it ([82.91.119.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2008 20:20:13 +0000 Received: from lmorandini by host42-119-static.91-82-b.business.telecomitalia.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2008 20:20:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Luca Morandini Subject: Re: [2.2] Forms dependency on Ajax block Date: Thu, 13 Mar 2008 21:20:05 +0100 Lines: 31 Message-ID: References: <47D97BE4.9050706@tuffmail.com> Reply-To: lmorandini@ieee.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host42-119-static.91-82-b.business.telecomitalia.it User-Agent: Thunderbird 2.0.0.12 (X11/20080226) In-Reply-To: <47D97BE4.9050706@tuffmail.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Grzegorz Kossakowski wrote: > Luca Morandini pisze: > > Dojo is used to only handle Ajax mode of Forms but to handle advanced field styling of Forms widgets > as well that has nothing to do with Ajax. Yes, I've looked into the code and discovered that ;) > This means that Forms must depend on Ajax (Dojo to be more precise) despite the fact you use Ajax or > not. Which is a departure from 2.1.9, which, IIRC, worked even with Javascript disabled on the browser. I presume that a way to disentangle forms and ajax blocks would be to make two different forms-field-styling.xsl (one with Javascript and/or Ajax, the other without Javascript), loaded conditionally on ajax="true" by forms-samples-styling.xsl. Why I'm making such a plea ? Well, the use of non-Javascript forms is a requirement for making websites accessible, which is a mandatory for governmental websites in Italy. Regards, -------------------- Luca Morandini www.lucamorandini.it --------------------