1. #1
    Ext User
    Join Date
    Jul 2009
    Posts
    10
    Vote Rating
    0
    farwest is on a distinguished road

      0  

    Default Ext.EventObject is undefined

    Ext.EventObject is undefined


    Hi there,

    We met a weird problem when we load extjs page (Please see below for the error msg in firebug). It can not be reproduced every time, and doesn't have any stack trace back to our application js code. I searched on this forum, looks like there was another guy got the same error. His problem is loading the extjs lib twice within that page. But we are not doing that. So, any ideas on this?

    Thanks!!
    Joe

    Code:
    Ext.EventObject is undefined
      e =  Ext.EventObject.setEvent(e);
    
    Ext.EventObject is undefined
    http://xxhost/xxxWeb/js/ext/ext-all-debug.js
    Line 1705

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    77
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    are you launching your stuff with Ext.onReady()?

  3. #3
    Ext User
    Join Date
    Jul 2009
    Posts
    10
    Vote Rating
    0
    farwest is on a distinguished road

      0  

    Default


    Thank you for the response!
    It turned out that we did load the extjs lib twice.
    Well, it's a little bit tricky. It's a bunch of grails web apps. We have a grails plugin which defines the generic web stuff. And it's installed to all the grails web apps. The extjs is defined in both the plugin and web app.

    Thanks,
    Joe

Thread Participants: 1