That was why I tried to come up with a way to dispose of all children. When I did a removeAll() it did remove them from the layout they were on and apparently simply moved them to the main document as they continued to be visible behind the new stuff I created.
There is still a problem with the di
Sebastian,
Don't you remember that I discovered that removeAll() doesn't dispose
children, just changes their parent?.
Sebastian Werner wrote:
>
> remove and removeAll should definitely work. There are examples (in
> test) which shows this. And it's working. Maybe a *small* example would
> b
I created a simpler version of disposeChildren that seems to work but also required a change to the
qx.ui.core.Widget prototype.Here is the change that I made to the Widget prototype:qxProto = qx.OO.classes['qx.ui.core.Widget'].prototype;qx.Proto.hasChildren = function(){ // this gives a basic re
Jim Hunter schrieb:
> I can't really update the children because I am never sure what the new
> children are going to consist of. The pages are dynamic, loaded from a
> database. The pages are under full control of the user, I never know
> what they will contain. When moving from one row in a re
I can't really update the children because I am never sure what the new children are going to consist of. The pages are dynamic, loaded from a database. The pages are under full control of the user, I never know what they will contain. When moving from one row in a recordset to the next, the page m
Jim Hunter schrieb:
>
> Since dispose doesn't free up memory, what is the official qooxdoo
> recommended way to completely get rid of an object? I am running into a
> situation where I have a VerticalBoxLayout that I put a bunch of named
> controls on. Later I need to replace those controls w
Since dispose doesn't free up memory, what is the official qooxdoo
recommended way to completely get rid of an object? I am running into a
situation where I have a VerticalBoxLayout that I put a bunch of named
controls on. Later I need to replace those controls with a new set of
controls, proble