Hi,I Am writing JavaScript to display JSP pages in JavaScript tabs,all JSP pages displays dynamic data,all JSP pages are working fine if i run individually,when i try to make it as tabs jsp pages are not working.can any one help me to solve this problem.
my JS code:
var tabPanel = new Ext.TabPanel({
activeTab : 0,
height : 400,
width : 450,
id : 'myTPanel',
enableTabScroll : true,
items : [
{
title:'Summary',
autoLoad: infoUrl + param + "&rand="+Math.random()
},
{
title:'Pump/Bore',
//autoLoad: 'page1.jsp'
</div><jsp:include page="page1.jsp" /></div>
},{
title:'Second',
autoLoad: 'page2.jsp'
},{
title:'Third',
autoLoad: 'page3.jsp'
}
]
});
new Ext.Window({
title:'Consumer Data',
height : 400,
width : 450,
//layout : 'fit',
items : tabPanel,
listeners: {
close: function (thisWindow) {
thisWindow.destroy();
}
}
}).show();
}
}