Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 57510 invoked from network); 20 Aug 2004 15:39:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Aug 2004 15:39:19 -0000 Received: (qmail 23731 invoked by uid 500); 20 Aug 2004 15:38:34 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 23640 invoked by uid 500); 20 Aug 2004 15:38:33 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 23607 invoked by uid 99); 20 Aug 2004 15:38:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [80.91.224.249] (HELO main.gmane.org) (80.91.224.249) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 20 Aug 2004 08:38:31 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ByBTD-000161-00 for ; Fri, 20 Aug 2004 17:38:27 +0200 Received: from 62.225.162.83 ([62.225.162.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Aug 2004 17:38:23 +0200 Received: from jh by 62.225.162.83 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Aug 2004 17:38:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org From: Jorg Heymans Subject: cforms forms_onsubmit() Date: Fri, 20 Aug 2004 17:36:10 +0200 Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 62.225.162.83 User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Is it possible to fully override the onsubmit handler that is generated by cforms? Cocoon allways puts a forms_onsubmit() infront of whatever i put in the handler of the form template, causing my javascript code not to be executed upon submit. The whole of google has only 2 references to forms_onsubmit() so i am really wondering what this thing actually does. Also: is it possible to just use plain cforms without continuations? I used to do form.showForm() but that creates a new continuation each time. My usecase really does not need continuations, so i tried doing cocoon.sendPage("display", {"CocoonFormsInstance": form}) resulting in a classcastexception. (http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109300831129697&w=2) I am using 2.1.5.1, should i switch to CVS for using basic cforms? Regards Jorg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org