google-code-export / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

insertButton + destroy in a toolbar #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

I have encounter a problem when using insertButton(int,ToolbarItem).
First of all it would make more sense that this method is called
"insertItem" but the problem with this method is that when you attach
an Item to a Toolbar and then you attempt to destroy it Javascript
will throw an exception. 

What is the expected output? What do you see instead?

expected to destroy the object but get an exceptioninstead:
[WARN] Exception thrown into JavaScript
com.google.gwt.core.client.JavaScriptException: JavaScript TypeError
exception: this.td has no properties 

What version of the product are you using? On what operating system?
0.9

Please provide any additional information below.

Original issue reported on code.google.com by pab...@gmail.com on 1 Sep 2007 at 9:42

GoogleCodeExporter commented 9 years ago
Unable to reproduce. Details here :
http://groups.google.com/group/gwt-ext/browse_thread/thread/7bb7d09c3298987f/b5c
74261500765ac#b5c74261500765ac

Original comment by sanjiv.j...@gmail.com on 7 Sep 2007 at 2:29