PDA

View Full Version : Problem in removing tab in grouptabs



DeepthiG
9 Dec 2009, 5:36 AM
Hi,

I got a problem in grouptabs while removing the tabs in the panel.My intension is to add and remove the tabs dynamically. I can add the tabs but while removing those are getting disabled and i can view them in the tab panel.I want to remove from tab panel also.


Pls help me.

CrazyEnigma
9 Dec 2009, 1:53 PM
The tab panels are probably not getting destroyed properly or that you are creating a panel that has a reference that you used that got destroyed.

If you are creating a dynamic tab with a global reference to an object, then when the panel gets closed, the object is getting destroyed.

I got something similar when I tried to do a log out, and a log in, and I invoked the method removeAll(); on logout.

Put a destroy listener in the object to see if it got destroyed.