What steps will reproduce the problem?
1. Create a panel with a card layout
2. insert (not add) a WidgetComponent that wraps a widget without an id
What is the expected output? What do you see instead?
The widget should be added to the panel. Instead it dies
What version of the product are you using? On what operating system?
gwt-ext 2.0.5, linux
Please provide any additional information below.
The problem seems to be that the widget has no id. If I do
String id = DOMUtil.getID(widget);
if(id == null) {
id = Ext.generateId();
DOMUtil.setID(widget, id);
}
before creating the WidgetComponent then things work fine. I believe this
check should be done inside the WidgetComponent class.
Original issue reported on code.google.com by spli...@gmail.com on 4 Nov 2008 at 2:47
Original issue reported on code.google.com by
spli...@gmail.com
on 4 Nov 2008 at 2:47