Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 17987 invoked from network); 9 Feb 2006 09:12:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Feb 2006 09:12:45 -0000 Received: (qmail 86308 invoked by uid 500); 9 Feb 2006 09:12:40 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 86031 invoked by uid 500); 9 Feb 2006 09:12:38 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 86020 invoked by uid 99); 9 Feb 2006 09:12:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 01:12:38 -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 antonio.fiol@gmail.com designates 64.233.184.204 as permitted sender) Received: from [64.233.184.204] (HELO wproxy.gmail.com) (64.233.184.204) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 01:12:37 -0800 Received: by wproxy.gmail.com with SMTP id 58so263643wri for ; Thu, 09 Feb 2006 01:12:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fFApFRvjyR2Gg7mKh1Qm1OoJxtOHlrN43wKscK4GNBhBrYE03bWG+Le2L88V/JB0I6j6isnU7IvCS5FOvG/uJH8pyFPNpSzDQTXCqd+GEyb0+Qj9UfPRNwuNvYztaOmljhx8d9lZSEfOp9CeOlxeqB4wlcEMclkQKi1BFvcM+kg= Received: by 10.54.136.15 with SMTP id j15mr1254801wrd; Thu, 09 Feb 2006 01:12:16 -0800 (PST) Received: by 10.54.97.17 with HTTP; Thu, 9 Feb 2006 01:12:16 -0800 (PST) Message-ID: Date: Thu, 9 Feb 2006 10:12:16 +0100 From: =?ISO-8859-1?Q?Antonio_Fiol_Bonn=EDn?= To: users@cocoon.apache.org Subject: Re: CForms button clicks verses enter in IE In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 2006/2/8, Archie Cowan : > We have a set of cocoon forms that are split into multiple pages by chang= ing > the widget state on a group of widgets that make up the different pages w= hen > buttons are pushed on the page. These are pretty much the same thing as t= he > multipage example except it's not using the ajax feature at this time. > > Our testers have found an issue that seems to be only in IE where if they > push enter to submit a form rather than clicking the "next page" button, = the > "next page" button logic is not executed. The showForm function in our fl= ow > exits which leaves us with incomplete data that we expect to receive from > the form. In a non-cforms application we've solved this by setting > javascript a listener to capture the enter event and clicking the default > button for the user so the correct values of the form are sent. > > Has anyone else run into this issue? We're going to try our old solution = but > if there is a way that fits better with the CForms scripting we would rat= her > use that. > > Environment: > JBoss 4.0.3 > Cocoon 2.18 > > Thanks for any advice, > > Archie > On the server, where you check whether the "next page" submit widget has been used (javaflow, flowscript,...), if "no widget" has been used, you can assume it's "next page", possibly unless you are on the last page, where it means "Finish". -- Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org