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 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.clone is not a function"
>
> I looked through the logs of SVN but didn't see anything pertaining to 
> removing clone from some widgets. But when I look at the API viewer, I 
> do not see Clone as a method of qx.ui.form.TextField. In the source 
> code I see the Object has a Copy method but I don't see that as an 
> inherited method of qx.ui.form.TextField.
>
> So what is a guy to do when I need a clone/copy of a 
> qx.ui.form.TextField ?
you could create a new instance of textfield and copy the relevant 
properties.


Best Fabian


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to