Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Dec 2008
    Posts
    6
    Vote Rating
    0
    igitur is on a distinguished road

      0  

    Post IE7: 'null' is null or not an object

    IE7: 'null' is null or not an object


    Hi,

    I have some very simple code: An autoload tab inside a tabpanel inside a window.

    On IE7 it's throwing a 'null' is null or not an object error.

    This seems to be a bug. The code works fine in Fx and Chrome.

    Code:
    Ext.onReady(function () {
        var myWindow = new Ext.Window({
            id: "MyWindow",
            hidden: false,
            height: 550,
            width: 750,
            layout: "fit",
            items: new Ext.TabPanel({
                id: "IBMTabPanel",
                activeTab: 0,
                items: [{
                    id: "IBMTab2",
                    title: "IBM Tab",
                    xtype: "panel",
                    autoLoad: {
                        url: "http://www.ibm.com"
                    }
                }]
            })
        });
    });
    I'm using Windows XP, IE7, ExtJS 3.2.0 to simulate this error.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,603
    Vote Rating
    580
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    You can't autoLoad from a different domain, it uses an Ajax request: https://developer.mozilla.org/En/Sam...for_JavaScript
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Dec 2008
    Posts
    6
    Vote Rating
    0
    igitur is on a distinguished road

      0  

    Default


    The exception occurs even if I use the same domain. The www.ibm.com was only for demo purposes. Anyway, the XHR exception would be something totally else, like 'Access Denied'.

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,603
    Vote Rating
    580
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    If I change the url to some local page it works fine for me. Follow the stack trace and see what's causing it.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  5. #5
    Sencha User
    Join Date
    Dec 2008
    Posts
    6
    Vote Rating
    0
    igitur is on a distinguished road

      0  

    Default


    Ok, sorry, maybe I should have given more detail upfront, but I wanted to keep it simple.

    I'm using Ext.NET v1, and the code I posted above was a reduced test case of the problem I'm experiencing.

    I see only now that Ext.NET is overriding Panel so that you can load content in an iframe inside a Panel (e.g. it adds a isIFrame method).

    It's when I use iframed content that I experience the problem. So I'm not sure whether the bug itself is in ExtJS or Ext.NET.

    In any case, this is the part which bombs out in IE7:

    Code:
     // private
        layout : function(){
            var ct = this.container, target = ct.getLayoutTarget();
            if(!(this.hasLayout || Ext.isEmpty(this.targetCls))){
                target.addClass(this.targetCls);
            }
            this.onLayout(ct, target);
            ct.fireEvent('afterlayout', ct, this);
        },
    The problem is that this.container == null

  6. #6
    Sencha User
    Join Date
    Dec 2008
    Posts
    6
    Vote Rating
    0
    igitur is on a distinguished road

      0  

    Default


    Is this an ExtJS or Ext.NET bug?

Similar Threads

  1. [B]'null' is null or not an object IE7 / el is null in FireFox in ExtJS[/B]
    By Jigesh Shah in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 20 May 2010, 4:54 PM
  2. 'null' is null or not an object IE7 / el is null in FireFox in ExtJS
    By Jigesh Shah in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 19 May 2010, 5:48 PM
  3. IE7 is killing me - Error: 'undefined' is null or not an object
    By themattreid in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 11 Mar 2010, 12:24 PM
  4. IE7 problem ('this.container' is null or not an object)
    By lucassus in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 10 Jul 2007, 2:45 PM

Thread Participants: 1

Tags for this Thread