Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 44318 invoked from network); 10 Mar 2006 12:12:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Mar 2006 12:12:06 -0000 Received: (qmail 84852 invoked by uid 500); 10 Mar 2006 12:12:03 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 84545 invoked by uid 500); 10 Mar 2006 12:12:02 -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 84534 invoked by uid 99); 10 Mar 2006 12:12:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2006 04:12:02 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2006 04:12:01 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id CA36CD49F9 for ; Fri, 10 Mar 2006 12:11:40 +0000 (GMT) Message-ID: <1870656770.1141992700810.JavaMail.jira@ajax> Date: Fri, 10 Mar 2006 12:11:40 +0000 (GMT) From: "Bruno Dumon (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Commented: (COCOON-1777) fd:on-value-changed does not work with fd:multivaluefield In-Reply-To: <239300125.1140033728783.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 [ http://issues.apache.org/jira/browse/COCOON-1777?page=comments#action_12369849 ] Bruno Dumon commented on COCOON-1777: ------------------------------------- Hi, Thanks for your patch. If I understand it correctly, the following will cause auto-submit to be enabled if there are value change listeners: which makes it impossible to disable value change listeners, so a better test would be: Correct? > fd:on-value-changed does not work with fd:multivaluefield > --------------------------------------------------------- > > Key: COCOON-1777 > URL: http://issues.apache.org/jira/browse/COCOON-1777 > Project: Cocoon > Type: Bug > Components: Blocks: Forms > Versions: 2.1.8 > Reporter: Grzegorz Kossakowski (aka g[R]eK) > Attachments: mutlivaluefield.patch > > Element fd:on-value-changed seems to not work with fd:multivaluefield. I have tried it using Cocoon samples, more specifically I changed fd:multivaluefield[@id='drinks'] to: > > Indicate which 2 of the following drinks you'd like to receive: > > > > > > > > > > > > > > java.lang.System.err.println("Drinks value changed: " + event.newValue); > > > > So I just added fd:on-value-changed but nothing happend when I was trying to change values of this field. I have no problem with normal field widgets, events work perfectly. I am also sure that it's not client/styling issue because I found that in form instance xml normal field widget have @listening attribute but multivalue field have not. > I don not know how to debug Cocoon so I am not able to continue investigation. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira