Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 58436 invoked from network); 3 Oct 2006 08:46:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 08:46:34 -0000 Received: (qmail 51574 invoked by uid 500); 3 Oct 2006 08:46:32 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 51504 invoked by uid 500); 3 Oct 2006 08:46:32 -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 51493 invoked by uid 99); 3 Oct 2006 08:46:32 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 01:46:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:46181] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 08/0A-29668-33322254 for ; Tue, 03 Oct 2006 01:45:43 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 92A447142E0 for ; Tue, 3 Oct 2006 01:21:20 -0700 (PDT) Message-ID: <24002184.1159863680598.JavaMail.root@brutus> Date: Tue, 3 Oct 2006 01:21:20 -0700 (PDT) From: "Jeroen Reijn (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-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1437?page=comments#action_12439413 ] Jeroen Reijn commented on COCOON-1437: -------------------------------------- I've fixed this before inside our cocoon based CMS. I will have to see if it still applies for cocoon-2.1.10. I can submit a patch otherwise. > 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