smartclient v90p_2013-12-19
IE9 and Chrome 31
We've set up several pages using tabsets. Each tab references a jsp or html page. Looking at the network traffic, we noticed that when the page containing the tabset is loaded, it initiates calls to all the pages contained in the tabs. These are then cancelled and the tab contents aren't loaded successfully until the tab containing them is opened. Is there a way to stop the initial requests?
Here's a sample of the code used to construct one tabset page.
Attached is a screenshot that shows some of the network traffic for this page. It tries to load both tabs, shown in red, then loads the first, initial tab, under the last red entry.
Thanks
IE9 and Chrome 31
We've set up several pages using tabsets. Each tab references a jsp or html page. Looking at the network traffic, we noticed that when the page containing the tabset is loaded, it initiates calls to all the pages contained in the tabs. These are then cancelled and the tab contents aren't loaded successfully until the tab containing them is opened. Is there a way to stop the initial requests?
Here's a sample of the code used to construct one tabset page.
Code:
isc.VLayout.create({
width: "100%",
height: "100%",
styleName: "PAGE_TITLE",
layoutMargin: 0,
members: [
isc.Label.create({
ID: "titleLabel",
contents:"${title}",
styleName: "df-title-text",
height: 30
}),
isc.TabSet.create({
ID: "tabSet",
styleName: "df-tab",
tabBarProperties: {
layoutTopMargin: 2,
layoutLeftMargin: 0},
tabs:[
{title:"${tabNamed}", pane:isc.HTMLPane.create({
ID:"namedPane",
contentsURL:"Controller?class=controllerClasses.foundation.GoalsManagement&action=navigate&page=viewGoals&type=named",
contentsType:"page"
})
},
{title:"${tabSystem}",pane:isc.HTMLPane.create({
ID:"systemPane",
contentsURL:"Controller?class=controllerClasses.foundation.GoalsManagement&action=navigate&page=viewGoals&type=system",
contentsType:"page"
})
}
]
})
]
});Attached is a screenshot that shows some of the network traffic for this page. It tries to load both tabs, shown in red, then loads the first, initial tab, under the last red entry.
Thanks