Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 76170 invoked from network); 16 Jul 2009 11:38:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jul 2009 11:38:14 -0000 Received: (qmail 59640 invoked by uid 500); 16 Jul 2009 11:39:19 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 59555 invoked by uid 500); 16 Jul 2009 11:39:19 -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 59547 invoked by uid 99); 16 Jul 2009 11:39:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 11:39:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [80.237.158.89] (HELO sester.sidebysite.de) (80.237.158.89) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 11:39:08 +0000 Received: from xdsl-78-34-64-121.netcologne.de ([78.34.64.121] helo=[192.168.23.109]) by sester.sidebysite.de with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from ) id 1MRPIR-00083D-0d; Thu, 16 Jul 2009 13:38:46 +0200 Message-Id: From: Benjamin Boksa To: dev@cocoon.apache.org, Fuat Akal In-Reply-To: <4A5F0378.1050708@fgcz.ethz.ch> Content-Type: multipart/mixed; boundary=Apple-Mail-7-1001663918 Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: _editor_url is not set! Date: Thu, 16 Jul 2009 13:38:39 +0200 References: <4A5F0378.1050708@fgcz.ethz.ch> X-Mailer: Apple Mail (2.935.3) X-Spam-Score: -4.9 (----) X-Spam-Report: Spam detection software, running on the system "ds80-237-158-89.dedicated.hosteurope.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Fuat, I came across that error a few days ago (see [1]). It seems there is a problem with the execution order of JavaScripts in the head. As the problem only occurs sometimes I solved it by replacing the default htmlarea.js with a custom one that you can find attached (call it a "quick & dirty hack" for now) . [...] Content analysis details: (-4.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] -0.5 AWL AWL: From: address is in the auto white-list X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-7-1001663918 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Fuat, I came across that error a few days ago (see [1]). It seems there is a problem with the execution order of JavaScripts in the head. As the problem only occurs sometimes I solved it by replacing the default htmlarea.js with a custom one that you can find attached (call it a "quick & dirty hack" for now) . However there was another really strange (and I mean _really strange_) error when deploying the application on Tomcat 5.5 on Windows: Some JavaScript used in the mattkruse-lib (selectbox.js or something) was delivered with its own content and the content of the original htmlarea.js (did I mention that the error was _really strange_?!). The exact same application works like a charm in Tomcat 5.5 on Linux (CentOS and Debian). Try to replace the default htmlarea.js with the one attached (use the attached xsl to rewrite the original script-tag). If that does not work and you are on Windows give Linux a try. Hope that helps - if you need further information let me know. Benjamin --Apple-Mail-7-1001663918 Content-Disposition: attachment; filename=htmlarea.js Content-Type: application/x-javascript; x-unix-mode=0644; name="htmlarea.js" Content-Transfer-Encoding: 7bit // htmlArea v3.0 - Copyright (c) 2002-2004 interactivetools.com, inc. // This copyright notice MUST stay intact for use (see license.txt). // // Portions (c) dynarch.com, 2003-2004 // // A free WYSIWYG editor replacement for