Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 75630 invoked from network); 25 Jan 2008 19:00:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2008 19:00:02 -0000 Received: (qmail 61798 invoked by uid 500); 25 Jan 2008 18:59:50 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 61734 invoked by uid 500); 25 Jan 2008 18:59:49 -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 61387 invoked by uid 99); 25 Jan 2008 18:59:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 10:59:48 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 18:59:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 504BF714244 for ; Fri, 25 Jan 2008 10:59:35 -0800 (PST) Message-ID: <19352151.1201287575324.JavaMail.jira@brutus> Date: Fri, 25 Jan 2008 10:59:35 -0800 (PST) From: "Gabriel Gruber (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Commented: (COCOON-1738) double-listbox problem in repeaters In-Reply-To: <1243638429.1137684582069.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 [ https://issues.apache.org/jira/browse/COCOON-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562621#action_12562621 ] Gabriel Gruber commented on COCOON-1738: ---------------------------------------- I attached 2 patches which worked for me to use the DoubleListBox within an Ajax enabled CForm under Cocoon 2.1.10. With this path the DoubleListbox works with Ajax (outside of a repeapter!) I recently tested them also inside repeaters, with mixed results. I think it is a starting point, how the problem could be solved :-) Gabriel > double-listbox problem in repeaters > ----------------------------------- > > Key: COCOON-1738 > URL: https://issues.apache.org/jira/browse/COCOON-1738 > Project: Cocoon > Issue Type: Bug > Components: Blocks: Ajax, Blocks: Forms > Affects Versions: 2.1.8, 2.1.9 > Reporter: Fabrizio Sitzia > Attachments: cocoon-ajax.js.diff, forms-advanced-field-styling.xsl.diff, forms-advanced-field-styling_snippet.xsl, forms-lib.js.diff, forms-lib_snippet.js > > > Rendering a multivaluefield using the 'double-listbox' styling fails, when that multivaluefield is contained in a repeater, and Ajax is enabled for the form: > The 'double-listbox'-styled fields in the repeater stop working as soon as some action, involving a round-trip to the server and a partial re-rendering of the repeater, is being performed (for example adding or deleting a repeater row, validation error on submit...) > After such a round-trip, a click on any of the double-listbox's UI elements (double-click on an item, click on an option-transfer button) will yield a Javascript error ("optxxxxx is not defined" on Cocoon 2.1.8, and "from.options has no properties" on the current BRANCH_2_1_X) > The multivaluefield's values will not be submitted correctly afterwards. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.