> thanks for your detailed answer!
No worries :-)
> Why is the patch not yet in the current svn? It's a critical bug,
> isn't it?
See the thread at
www.nabble.com/Thoughts-on-ExtJS-vs-qooxdoo-tt14993948.html#a15072091
and expand the first message from me on Jan 25. In it I raised this point
w
TECTED] Im Auftrag von Hugh Gibson
Gesendet: Freitag, 8. Februar 2008 07:17
An: qooxdoo-devel@lists.sourceforge.net
Betreff: Re: [qooxdoo-devel] remove and destroy
Firstly, if you are using 0.7.3 there is a patch in
http://bugzilla.qooxdoo.org/show_bug.cgi?id=764 which you *must* apply as
there i
Firstly, if you are using 0.7.3 there is a patch in
http://bugzilla.qooxdoo.org/show_bug.cgi?id=764 which you *must* apply as
there is a design fault in the new theme system which means that any
themed qooxdoo objects will not be freed by the browser. This will apply
even if you aren't disposing a
operties) from the old to the new layout.
Could anyone help me :D
Thanks
Tobias
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Jim
Hunter
Gesendet: Mittwoch, 6. Februar 2008 20:19
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] remove and destroy
Here is a rout
Here is a routine that I have that seems to work. What you have to remember
is that not all widgets have the hasChildren method. I added a dummy method
to the base object that returns false, then all other descendants can
override it and return a real result. Here is my code (I use this in a mixin
t to use instead?
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von S,
Mohamed Raffi (Mohamed)
Gesendet: Mittwoch, 6. Februar 2008 13:00
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] remove and destroy
try running the loop in the reverse order.
Since the index reduces,
:[EMAIL PROTECTED] Im Auftrag von S,
Mohamed Raffi (Mohamed)
Gesendet: Mittwoch, 6. Februar 2008 13:00
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] remove and destroy
try running the loop in the reverse order.
Since the index reduces, You need to delete this way when you remove the
recor
ds[i].dispose();
}
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tobias
Koller (GERMO GmbH)
Sent: Wednesday, February 06, 2008 5:23 PM
To: qooxdoo Development
Subject: [qooxdoo-devel] remove and destroy
Hi,
I want to use my own method to remove and destroy all children of a
widget.
Here is my code:
removeAndDestroy : function( widget ){
if(widget.hasChildren() == true){
var childs = widget.getChildren();
var len = childs.length;
for(var i = 0; i < len; i ++){
a