Threaded View
-
3 Mar 2011 3:06 AM #1
Problem loading html page in tabpanel items
Problem loading html page in tabpanel items
I have a tabPanel as my base layout.I need to load different local pages on each tabpanel item.i set the autoLoad property with the url to load.but page doesnt get load.
Code:Ext.setup({ icon: 'icon.png', tabletStartupScreen: 'tablet_startup.png', phoneStartupScreen: 'phone_startup.png', glossOnIcon: false, onReady: function() { var tabpanel = new Ext.TabPanel({ tabBar: { dock: 'bottom', layout: { pack: 'center' } }, fullscreen: true, defaults: { scroll: 'vertical' }, items: [{ title: 'tab1', autoLoad:{url:'tab1.htm'}, listeners:{ activate : function(panel){ console.log("act"+panel); panel.getUpdater().refresh(); } } }, { title: 'tab2', autoLoad:{url:'tab2.htm'}, }] }); } });
for 'activate' listener in tabpanel item i get the below expection
Uncaught TypeError: Object [object Object] has no method 'getUpdater'.
How could we load the page dynamically?
Similar Threads
-
TabPanel calling Ajax page (html), with GridPanel inside page
By yajetechnologies in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 24 Sep 2012, 11:33 PM -
Problem in loading the extjs contained html file in tab load of tabpanel
By gudurivenugopal in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 19 Feb 2010, 8:06 AM -
Problem: Html Page loading in Tab
By saravanan.sbm in forum Ext 2.x: Help & DiscussionReplies: 12Last Post: 11 Apr 2009, 5:48 AM -
Problem in loading html page in tab - error identified
By saravanan.sbm in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 11 Apr 2009, 4:21 AM -
TabPanel problem - load html page with javascript
By dekely in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 28 Dec 2008, 4:58 AM


Reply With Quote