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
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,169
    Vote Rating
    28
    jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough

      0  

    Default


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

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.

  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