Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 52474 invoked from network); 18 Mar 2004 16:39:49 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Mar 2004 16:39:49 -0000 Received: (qmail 15841 invoked by uid 500); 18 Mar 2004 16:37:36 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 15793 invoked by uid 500); 18 Mar 2004 16:37: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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 15762 invoked from network); 18 Mar 2004 16:37:36 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 18 Mar 2004 16:37:36 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B40WY-0005M1-00 for ; Thu, 18 Mar 2004 17:37:38 +0100 Received: from mail.ewerk.com ([217.69.240.162]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2004 17:37:38 +0100 Received: from joerg.heinicke by mail.ewerk.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2004 17:37:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Joerg Heinicke Subject: [cforms] "SubmitWidget can only be set once" with buttons in IE Date: Thu, 18 Mar 2004 16:37:36 +0000 (UTC) Lines: 31 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 217.69.240.162 (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113) Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N As I'm still on Cocoon 2.1.4 (so no Cocoon Forms, but it is the same problem there) I will use term "Woody" below. I chose to use button elements instead of input elements for rendering wi:action as IE does not support the selection depending on attribute value (e.g. input[type="submit"]). Unfortunately IE does not behave that well then, all submits seemed to be sent at the same time: PARAM: 'add' VALUES: '[add object]' PARAM: 'repeater.first' VALUES: '[first]' PARAM: 'repeater.last' VALUES: '[last]' PARAM: 'repeater.next' VALUES: '[next]' PARAM: 'repeater.previous' VALUES: '[previous]' PARAM: 'woody_submit_id' VALUES: '[]' While with input/@type="submit" it is: PARAM: 'add' VALUES: '[add object]' PARAM: 'woody_submit_id' VALUES: '[]' The spec says clearly: "Buttons created with the BUTTON element function just like buttons created with the INPUT element, but they offer richer rendering possibilities." Seems not to be true for IE. Has anybody experience with this or circumvented in some way? Would it be possible to handle this via woody_submit_id, so that this value is always set and Woody gets the submit widget only depending on this value? WDYT? Joerg