Hello,
Upgraded from SmartGWT EE 2011-01-25 to SC_SNAPSHOT-2011-03-01 and now I get a ClassCastException here:
I have a TabSet and only add tabs from my own class MyTabItem which extends class Tab.
In the tabset onCloseClick I cast event.getTab() to my own class since I don't expect any other Tab in the tabset. This does not work anymore.
The funny thing is that the exception mentions Tab:
while the event.getTab().getJsObj() mentions ImgTab, which is just the tab title component, right?
Upgraded from SmartGWT EE 2011-01-25 to SC_SNAPSHOT-2011-03-01 and now I get a ClassCastException here:
I have a TabSet and only add tabs from my own class MyTabItem which extends class Tab.
In the tabset onCloseClick I cast event.getTab() to my own class since I don't expect any other Tab in the tabset. This does not work anymore.
The funny thing is that the exception mentions Tab:
Code:
java.lang.ClassCastException: com.smartgwt.client.widgets.tab.Tab cannot be cast to zzz.MyTabItem
Code:
ImgTab{dragAppearance: "none", defaultWidth: 80, overflow: "visible", skinImgDir: "images/Tab/bottom/", ID: "isc_MyTabItem_1", canClose: true, ...
Comment