I have a form.SelectBox() and have added 2 items to the selection, added a
listener but I think that's about it for what's happened to that widget. I
think maybe I set some userData() on it, as well.

On my form I have a 'reset' button, which I want to reload the app from the
DB, including the select box. So I've tried doing:

selectbox.removeAll() to attempt to remove the two items I added so I can
add them again, but it blows up at that point, firebug goes off somewhere
(?) and I'm not sure where it ends up. I also tried removing the children
individually after doing a getChildren() and it fails on removal of the 2nd
child, not the first.

I was just able to trace a bit farther, and it's hitting this in Widget.js:

this.assertNotUndefined(child);
2134 this.assertIdentical(child.getLayoutParent(), this, "Remove Error: " +
child + " is not a child of this widget!");

Is this a bug in remove()? It should not be trying to remove things it
doesn't have, or alternately it's making a mistake thinking that this child
is not one of it's children, since the child was just returned by
getChildren().
Ken
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to