1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Vote Rating
    0
    fenderico is on a distinguished road

      0  

    Default missing required classes Ext.event.Dispatcher, Ext.MessageBox and Dom.js

    missing required classes Ext.event.Dispatcher, Ext.MessageBox and Dom.js


    Hi everybody,

    I've just downloaded sencha2-b2 and I've tried to execute a simple example, but when the example is executed in the phone emulator or in the browser a message is displayed saying that Ext.event.Dispatcher, Ext.MessageBox and Dom.js are missing (404 Not Found). As a result I get a blank page.

    Does anybody know what I'm doing wrong? Any hint?

    Thanks in advance,

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,724
    Vote Rating
    752
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Any code?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Vote Rating
    0
    fenderico is on a distinguished road

      0  

    Default


    Code:
    <!DOCTYPE HTML>
    <html>
      <head>
        <meta name="viewport" content="width=320; user-scalable=no" />
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
        <title>PhoneGap Demo with Sencha Touch</title>
        <link rel="stylesheet" href="sencha/resources/css/sencha-touch.css" type="text/css">
        <script type="text/javascript" src="sencha/sencha-touch-debug.js"></script>
          </head>
    
          <script type="text/javascript">        
            Ext.application({
                name: "myapp",
                      
                launch: function() {
                    alert("sencha!");
                }
            });
          </script>
    
      <body></body>
    </html>

  4. #4
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Vote Rating
    0
    fenderico is on a distinguished road

      0  

    Default


    This is a screenshot of the error.
    Attached Images

  5. #5
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,724
    Vote Rating
    752
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I'm not getting those errors. Try clearing cache and trying it again.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  6. #6
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Vote Rating
    0
    fenderico is on a distinguished road

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    I'm not getting those errors. Try clearing cache and trying it again.
    I've already tried that, but it didn't work. Could it be something related to a missing eclipse plugin or a misconfiguration? I created the project as a phonegap & sencha touch project, including the folder where sencha source was unzipped.

    TIA,

  7. #7
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Vote Rating
    0
    fenderico is on a distinguished road

      0  

    Default


    What included folders should I have in a sencha project? It seems that project was wrongly created by the IDE with a missing folders.

  8. #8
    Sencha User
    Join Date
    Feb 2012
    Posts
    31
    Vote Rating
    0
    fenderico is on a distinguished road

      0  

    Default


    SOLVED.

    The option to create a phonegap & sencha touch project in eclipse didn't add some directories to the sencha one. I copied the missing directories and everything worked well.

    Thank you for your replies.

    Cheers,

  9. #9
    Sencha User
    Join Date
    Jan 2012
    Posts
    49
    Vote Rating
    0
    j.k is on a distinguished road

      0  

    Default


    I'm getting the same error - with the same exact three missing files - when using sencha-touch.js instead of sencha-touch-debug.js:

    <script src="lib/touch2-beta3/sencha-touch.js"></script>
    <script src="app.js"></script>

    Sencha Touch sources are in

    lib/touch2-beta3/src

    but the three files mentioned above are searched for in:
    ./src

    Anything I'm missing?

  10. #10
    Sencha User
    Join Date
    Feb 2012
    Posts
    255
    Vote Rating
    2
    landed is on a distinguished road

      0  

    Default


    Quote Originally Posted by fenderico View Post
    SOLVED.

    The option to create a phonegap & sencha touch project in eclipse didn't add some directories to the sencha one. I copied the missing directories and everything worked well.

    Thank you for your replies.

    Cheers,
    Can yoou be more specific are you suggesting that you copied the Ext classes into your deplyment ? Thanks I'm getting this error and no one seems to know why the build is leaving out these three files.

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