sjivan / gwt-ext

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

Extending TreeNode cause ClassCastException #461

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a class FooNode extends TreeNode
2. add a FooNode as a childe of a TreeNode
3. the getChilds method returns an TreeNode, not a FooNode

What is the expected output? What do you see instead?
I expect to retrieve the node I append into the tree.

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

Please provide any additional information below.

The problem is described here:
http://groups.google.com/group/gwt-ext/browse_thread/thread/25863f3d03899441/
And here: http://www.gwt-ext.com/forum/viewtopic.php?f=5&t=384

Original issue reported on code.google.com by stephane...@gmail.com on 9 Dec 2008 at 2:13