Our main application uses a border layout with the following :
north region - menu bar
west region - navigational links
center region - main content area with a TabPanel at the top and iframes for the content of each tab.
Each iframe within the main TabPanel has its own border layout with the following:
north region - toolbar
center region - main content area
south region - status bar
I have a function that adds tabs to the primary TabPanel as needed. The details for what URL to invoke for a screen are stored in a global array named screenArr :
// open a new tab
function openTab(screenId) How Do I: Use the ASP.NET AJAX Tabs Control? : The Official Microsoft :: I have noticed a problem when you delete the second to last tab. I have a question with regards to sharing content between multiple tabs. http://www.asp.net/learn/ajax-videos/video-156.aspxHOME |
{
var screenObj = screenArr[screenId];
var tabUrl = screenObj.contentUrl;
var tabTitle = screenObj.title;
var tabId = "tab_" + screenId;
var tabElem = document.getElementById(tabId);
if (tabElem != null)
{
myTabs.activate(tabId);
return; Javascript [Archive] - Page 2 - HighDots Forums:: open window problem from flash inside a frame (0 replies) Multiple windows using window.open() (1 replies) Date. ( 3 replies) http://www.highdots.com/forums/archive/18-2006-3-2.phpHOME | Grayed Out Options:: sum option has been programatically disabled, you can reset it is already open different problem & solution discussed in KB 158996: You http://www.mvps.org/dmcritchie/excel/grayedout.htmHOME |
}
var frmHtml = '';
var icon = "iconLoading";
var newPanel = new Ext.Panel({
id: tabId,
title: tabTitle,
closable:true,
autoScroll:false,
html: frmHtml,
iconCls: icon,
border: false,
listeners:
{
destroy: tabDestroyed
}
});
myTabs.add(newPanel);
myTabs.activate(newPanel);
return newPanel;
}
When I open any screen independently, the content of the iframes display properly. If I open multiple screens programatically, however, the north and south regions of the first screen do not render.
Example:
If I have the following code :
openTab('screenA');
- screenA ( with all its regions ) display properly.
But if I have this code:
openTab('screenA');
openTab('screenB');
- screenB (with all its regions) display properly. screenA appears but the north and south regions do not render.
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home
|