Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 43988 invoked from network); 3 Oct 2006 08:03:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 08:03:35 -0000 Received: (qmail 80245 invoked by uid 500); 3 Oct 2006 08:03:32 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 80090 invoked by uid 500); 3 Oct 2006 08:03:31 -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 80067 invoked by uid 99); 3 Oct 2006 08:03:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 01:03:31 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B5B23714318 for ; Tue, 3 Oct 2006 01:02:21 -0700 (PDT) Message-ID: <28328956.1159862541741.JavaMail.root@brutus> Date: Tue, 3 Oct 2006 01:02:21 -0700 (PDT) From: "Jean-Baptiste Quenot (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Commented: (COCOON-1437) Htmlarea lost contents 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-1437?page=comments#action_12439406 ] Jean-Baptiste Quenot commented on COCOON-1437: ---------------------------------------------- Mistake, please read: There must be a conflict somewhere in the
handlers. > Htmlarea lost contents > ---------------------- > > Key: COCOON-1437 > URL: http://issues.apache.org/jira/browse/COCOON-1437 > Project: Cocoon > Issue Type: Bug > Components: Blocks: Forms > Affects Versions: 2.2-dev (Current SVN) > Environment: Operating System: All > Platform: All > Reporter: Gioni Gennai > Assigned To: Cocoon Developers Team > > In my project I use htmlarea with cform. I customize the html area calling a js > function with onload event > > function initHtmlArea(elementId) { > // inititalize editor > editor = new HTMLArea(elementId); > // retrive the config object > var config = editor.config; > // do custom configuration > config.toolbar = [ > [ > "bold", "italic", "underline", "separator", > "undo", "redo", "separator", > "justifyleft", "justifycenter", "justifyright", "separator", > "insertorderedlist", "insertunorderedlist", "outdent", > "indent" > ] > ]; HTMLArea.replace(elementId, config); > } > Where descrizione is the htmlarea's id > > > > All seems to work, I have my htmlarea show in the form. > The problem is that in the form I have a selection list, with the submit-on-change="true"/>, that I use to populate another selection list on the > form. When i change the selection, in the first selection list, the second is > populate as I expect, but the text present in the htmlarea is lost. -- 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