Re: [qooxdoo-devel] clone on a TextField

2007-08-14 Thread Fabian Jakobs
Hi Jim, we have removed the "clone" method because it never really worked 100% because of some limitations of the current widget system. We didn't want to provide a functionality, which sometimes doesn't work. But you are right, we forgot to mention this in the release notes ;-( > After conver

Re: [qooxdoo-devel] clone on a TextField

2007-08-14 Thread Leander Hanwald
Oh, I remember this problem, too. I missed to report it when I saw it in the betas :/ Interessting is the following code in qx.lang.Object.js /** * Return a copy of an Object * * TODO: Rename to clone() like in prototype and python * * @type static * @param sourc

Re: [qooxdoo-devel] clone on a TextField

2007-08-13 Thread Jim Hunter
I see that on March 8, 2007 that the clone code was removed from Widget but nothing was put in to replace it and I see no mention of it being removed in any documentation. Argh! This breaks existing code! The Wiki still says that to create a copy of something use the clone method, but now that is n

[qooxdoo-devel] clone on a TextField

2007-08-13 Thread Jim Hunter
After converting my .6.6 project to .7.1, I have a line of code that no longer works (translated: causes a JavaScript error). here is the code snippet and the resulting error: this.From = new qx.ui.form.TextField; this.To = this.From.clone(); // causes a JavaScript error: "this.From.cloneis not a