-
20 Mar 2013 10:53 AM #1
src/Layer.js does not exist in ExtJS 4.2.0
src/Layer.js does not exist in ExtJS 4.2.0
REQUIRED INFORMATION Ext version tested:
- Ext 4.2.0 gpl rev 663
- FF13
- ____
- When you include ExtJS css and js files like this:
- <link rel="stylesheet" href="resources/extjs-4.2.0/resources/css/ext-all.css">
<script src="resources/extjs-4.2.0/ext-all.js"></script>
and use Ext.require(['*']); to load all and every class
everything works fine, all ExtJS code is in ext-all.js - But when you do it like this:
- <link rel="stylesheet" href="resources/extjs-4.2.0/resources/css/ext-all.css">
<script src="resources/extjs-4.2.0/ext.js"></script>
and use Ext.require(['*']); to load all and every class
all js files are loaded except for src/Layer.js and this is reported by Firebug:
NetworkError: 404 Not Found - http://localhost:8080//resources/ext...0/src/Layer.js
- see description
- loading of all ExtJS source js files separately by ExtJS loader
- all files are loaded except for src/Layer.js which is reported missing, and is really missing from source
HELPFUL INFORMATIONCode:<link rel="stylesheet" href="resources/extjs-4.2.0/resources/css/ext-all.css"> <script src="resources/extjs-4.2.0/ext.js"></script> <script type="text/javascript"> Ext.Loader.setConfig({ enabled: true }); Ext.require(['*']); Ext.onReady(function() { var panel = Ext.create('Ext.panel.Panel', { title: 'Panel', layout: { type: 'vbox', align: 'center' }, html: 'blahblah' }); var viewport = Ext.create('Ext.Viewport', { layout: 'fit', items: [panel] }); viewport.doLayout(); }); </script>
Screenshot or Video: See this URL for live test case: http://
Debugging already done:- none
- add Layer.js file to download
- only default ext-all.css
- Win7
-
20 Mar 2013 2:05 PM #2
It's in extjs/src/dom
So it's loading it from the wrong directory.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
You found a bug! We've classified it as
EXTJSIV-9270
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote