Hybrid View

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    1
    Vote Rating
    0
    erritikamathur is on a distinguished road

      0  

    Default 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?

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    1
    Vote Rating
    0
    tanmat is on a distinguished road

      0  

    Default .

    .


    I am having a similiar issue. But in my case (chrome) no errors thrown but the page never gets updated. Did you manage to solve this?

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    1
    Vote Rating
    0
    atekie is on a distinguished road

      0  

    Default Did you guys figure this out?

    Did you guys figure this out?


    I am having the same issue, if you figured this out could you please post the solution?

    Thanks!

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    51
    Vote Rating
    0
    whiplash is on a distinguished road

      0  

    Default any further developments on this issue

    any further developments on this issue


    Hi Guys

    has anyone got any ideas on this one? I am trying to implement this approach too with no joy.

    Some guidance from someone who may know would be brilliant.


    Thanks

  5. #5
    Sencha User
    Join Date
    Nov 2012
    Posts
    4
    Vote Rating
    0
    ravi9999 is on a distinguished road

      0  

    Default answer for above question

    answer for above question


    Code:
    listeners: {                                                             
       activate: function(tab) {
      tab.loader.load();
       }
               }

Similar Threads

  1. TabPanel calling Ajax page (html), with GridPanel inside page
    By yajetechnologies in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 24 Sep 2012, 11:33 PM
  2. Problem in loading the extjs contained html file in tab load of tabpanel
    By gudurivenugopal in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 19 Feb 2010, 8:06 AM
  3. Problem: Html Page loading in Tab
    By saravanan.sbm in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 11 Apr 2009, 5:48 AM
  4. Problem in loading html page in tab - error identified
    By saravanan.sbm in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 11 Apr 2009, 4:21 AM
  5. TabPanel problem - load html page with javascript
    By dekely in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 28 Dec 2008, 4:58 AM

Thread Participants: 4

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar