Hey, this seems like a bug in the tree controller to me. A quick check showed that the controller is referencing the old root node which is of course already disposed. Adding to the old root node then throws the error. Could you open up a bug report for me? This should be a quick fix so maybe i take care of it on monday morning back at work. Thanks for the report, Martin
Am 05.11.2010 um 15:39 schrieb Tamási János: > Hi! > > I have a new problem. > I have a tree controller connected to a tree without model. When i set > the model first time everything works fine, i can add new child to the > tree through the model. After i set the model to null and then set the > model to the real one again, adding a child will fail with an error > message: z.getChildren() is null (Tree.js line 510) > > Playground code: *http://tinyurl.com/2e8ckaj* > Steps to reproduce: > * click on 'set model' > * click on 'new child2' or select st and click to 'add child to selected' > * click on 'model -> null' > * repeat step 1 > * repeat step 2 > > What's wrong with this code? > > ------------------------------------------------------------------------------ > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
