+ Start a Discussion

load selected tab only when refresh tabbed visualforce page

Hi Guys, I need urgent help!!


I use <apex:tabpanel ..> and <apex:tab>to add several sub tabs. for each tab, i use <apex:include> to include the page, and each embeded page has its own controller to perform apex callout. I noticed when I load/refresh the VF page, all tabs are loaded. This is a big performance issue which will cause the limit exception error(maximum 10 callouts per time).. Can anyone give some suggestion to avoid this? I tried the switchtype = 'server'/'client' it doesn't help.