yOn Thu, 27 Aug 2009, Derrell Lipman wrote: > On Thu, Aug 27, 2009 at 18:20, Fritz Zaucker <[email protected]> wrote: > >> I just wanted to give up and then I had a last idea and found the problem >> (if not yet the solution). In addition to Qooxdoo I am using prototype >> and protochart in my application (sourcing them in index.html). And it >> seems that prototype is not (anymore) compatible with Qooxdoo and seems >> to cause the stringify() problem (or to be more precise to mess up the >> Array type detection). There is an isArray() function in prototype, so >> probably this is now getting into the way (still must have something to >> do with the patch in r17648). > > This type of thing, however, was exactly the reason I wanted you to try with > RpcExample and just inputting that one line into the playground. They are > raw, unadulterated qooxdoo, allowing for an apples vs apples comparison of > your stuff and my stuff.
Yes, that was good advice and I will remember that for the future. > I happen to think that altering the prototype of native types is evil. I > know there are many prototype users who disagree with me. :-) I think I'd rather agree ... > In qooxdoo, although most stuff is well organized by namespace, we still > have at least one of modifying native type prototypes, in Array. With the > new qx.data.Array class now available, I am very hopeful that we'll > finally be rid of the alterations to the Array prototype in 0.9 and > instead use qx.data.Array when those non-common methods are required. > > In any case, I'm glad you now know what's going on, and you can work to > resolve it. Thanks again for your patience. The workaround is easy, I can just pass a hash instead of two "scalars" to callAsync(). Ultimately, I'd like to replace prototype/protochart and hopefully will be able to find something less "intrusive". Ideally, we'd come up with a Qooxdoo-native approach for graphs and charts (which we'd contribute, of course) ... not unlikely if we get approval for a new project we are currently discussing with a customer. Cheers, Fritz -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
