-
15 Feb 2012 6:32 AM #1
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,
-
15 Feb 2012 6:59 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,640
- Vote Rating
- 435
Any code?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
15 Feb 2012 10:32 AM #3
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>
-
15 Feb 2012 10:46 AM #4
-
15 Feb 2012 10:57 AM #5Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,640
- Vote Rating
- 435
I'm not getting those errors. Try clearing cache and trying it again.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
15 Feb 2012 11:10 AM #6
-
15 Feb 2012 11:31 AM #7
What included folders should I have in a sencha project? It seems that project was wrongly created by the IDE with a missing folders.
-
15 Feb 2012 12:04 PM #8
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,
-
16 Feb 2012 1:58 PM #9
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?
-
27 Apr 2012 2:44 AM #10


Reply With Quote