Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 53668 invoked from network); 28 Aug 2007 15:51:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2007 15:51:26 -0000 Received: (qmail 65375 invoked by uid 500); 28 Aug 2007 15:51:20 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 64653 invoked by uid 500); 28 Aug 2007 15:51:18 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 64642 invoked by uid 99); 28 Aug 2007 15:51:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 08:51:18 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.52.162.130] (HELO mx11.mesanetworks.net) (74.52.162.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 15:52:08 +0000 Received: (qmail 7738 invoked by uid 509); 28 Aug 2007 09:50:46 -0600 Received: from 65.175.0.109 by mx11.mesanetworks.net (envelope-from , uid 508) with qmail-scanner-1.25-st-qms (clamdscan: 0.87/2133. spamassassin: 3.0.6. perlscan: 1.25-st-qms. Clear:RC:1(65.175.0.109):. Processed in 0.051543 secs); 28 Aug 2007 15:50:46 -0000 X-Antivirus-MESANETWORKS-Mail-From: cocoon@lojjic.net via mx11.mesanetworks.net X-Antivirus-MESANETWORKS: 1.25-st-qms (Clear:RC:1(65.175.0.109):. Processed in 0.051543 secs Process 7726) Received: from 65-175-0-109.static.mesanetworks.net (HELO mail.lojjic.net) (65.175.0.109) by mx11.mesanetworks.net with SMTP; 28 Aug 2007 09:50:46 -0600 MIME-Version: 1.0 Date: Tue, 28 Aug 2007 09:51:09 -0600 From: Jason Johnston To: users@cocoon.apache.org Subject: Re: Java strings vs. Javascript strings In-Reply-To: <20070828142521.GA11320@localhost.localdomain> References: <20070828142521.GA11320@localhost.localdomain> Message-ID: X-Sender: cocoon@lojjic.net User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 28 Aug 2007 16:25:25 +0200, Tobia Conforto wrote: >> Packages.org.mozilla.javascript.Context.getCurrentContext().getWrapFactory().setJavaPrimitiveWrap(false); > > Thank you! This is going to be a noticeable time saver for us, by > eliminating lots of small errors. Great! Glad to hear it worked for you. > I'd like to suggest making it the default in Cocoon. > Should I post an issue to JIRA or a message to the dev mailing list? I'd suggest bringing it up on the dev list to see if there is developer support for it. FYI I personally would vote against making it the default, partly because I prefer the framework not do unexpected magic conversions, but mostly because it's a backward-incompatible change and would break lots of existing flowscript code. I would, however, be in support of making it easier to set the javaPrimitiveWrap configuration, perhaps on a more granular basis rather than globally if possible. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org