The problem I'm having is that I have a tabpanel (lets call it tabpanelA) whose content disappears on me.
To be specific, I add tabpanelA in response to a user driven event. This tabpanel contains a border layout, west region is a formpanel, center is a tabpanel, and south is a tabpanel.
When the tabpanelA is first added everything renders fine, a user can tab over to a different tab and back and no problem.
In response to a different user event, I call a custom load method on this tabpanel that just reloads some json stores and then call setActiveTab(tabPanelA). At this point everything is fine, data is visible, etc., etc.,
However, if a user tabs off of tabpanelA (only after setActiveTab is called) and comes back to tabpanelA, the contents of tabpanelA's center and south regions are no longer there (meaning, if I firebug those tab's active tabs, the body element is a ). As soon as I click a nonactive tab on one of those sub tabpanels and come back again, the content is there.
I've got layoutOnTabChange:true, deferredRender:false, and defaults:{hideMode:'offsets'} everywhere relevant but nothing has so far shed any light on this problem. I registered afterLayout listeners on all the subtabpanels as well and layout is getting called on them.
Now i realize this is a bit more difficult without code but I'm hoping I've just run into some well known problem or it'll be an obvious solution. Any suggestions are greatly appreciated.
Thanks
I've attached monumentally crappy mockup of the layout.
What worries me though is that you use the "R" word. "rendered". You are not actually calling render anywhere are you?
#If you have any other info about this subject , Please add it free.# |
Posted on January 8th 2009 in bomisasia.com edit