Hi Martijen, a automatically dispose is in my opinion not correct, because perhaps you will reuse the closed page. If the dispose it automatically you can't reuse it.
To dispose the closed page, you can add a listener to the "close" event and call the destroy method on the page. Here my example, I don't know why it doesn't work with your one: var page = new qx.ui.tabview.Page("Test"); page.setShowCloseButton(true); tabview.add(page); page.addListener("close", function(e) { e.getTarget().destroy(); }, this); Cheers, Chris Am 04.02.2010 13:58, schrieb Martijn Evers: > Hi, > > I am building a application with a tabview widget. When I close a page > the object stays in memory. I've build a little application to show my > point in the playground: http://bit.ly/cR5tW4. > > I don't know if this is a bug. Is there anyway to dispose it myself? > Because I already tried by listening to the 'close' event and destroying > the page. But this leads to a lot of errors. > > Any thoughts about this? > > Best regards, > Martijn > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > -- Christian Schmidt Software Entwickler 1&1 Internet AG - Web Technologies Ernst-Frey-Straße 9 · DE-76135 Karlsruhe schmidt.christ...@1und1.de Amtsgericht Montabaur / HRB 6484 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel