Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 79919 invoked from network); 22 Feb 2006 11:29:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 11:29:16 -0000 Received: (qmail 54640 invoked by uid 500); 22 Feb 2006 11:29:13 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 54566 invoked by uid 500); 22 Feb 2006 11:29:12 -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 54555 invoked by uid 99); 22 Feb 2006 11:29:12 -0000 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; Wed, 22 Feb 2006 03:29:12 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id BCF84DC for ; Wed, 22 Feb 2006 12:28:50 +0100 (CET) Message-ID: <1620279884.1140607730611.JavaMail.jira@ajax.apache.org> Date: Wed, 22 Feb 2006 12:28:50 +0100 (CET) From: "vincent Demay (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Reopened: (COCOON-1780) [PATCH] Upload Widget : Can not change selected file In-Reply-To: <883537774.1140425988858.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-1780?page=all ] vincent Demay reopened COCOON-1780: ----------------------------------- I tried you patch on a form with a on-value-changed listener on upload and it works. but when there isn't any on-value-change-listener and you submit the form with another input type="submit" the fallowing error occurs java.lang.IllegalStateException: Submit widget already set to Upload 'upload'. Cannot set also Submit 'ok' I think it's because we set the submit-id with the upload and after we set it again. > [PATCH] Upload Widget : Can not change selected file > ---------------------------------------------------- > > Key: COCOON-1780 > URL: http://issues.apache.org/jira/browse/COCOON-1780 > Project: Cocoon > Type: Bug > Components: Blocks: Forms > Versions: 2.2-dev (Current SVN), 2.1.9-dev (current SVN) > Reporter: vincent Demay > Assignee: Jean-Baptiste Quenot > Fix For: 2.1.9-dev (current SVN) > > When a file is selected with the upload widget and a on-value-change event is fired, the value of the widget can not be changed by user. > here is the patch > Index: /cvs/cocoon/cocoon_BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/resources/forms-field-styling.xsl > =================================================================== > --- /cvs/cocoon/cocoon_BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/resources/forms-field-styling.xsl (revision 377974) > +++ /cvs/cocoon/cocoon_BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/resources/forms-field-styling.xsl (working copy) > @@ -486,7 +486,7 @@ > [ > > ] > - > + > > > -- 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