mardi 27 mai 2014

Problems with Ext.application without bootstrap.js

I downloaded extJS5 today and deployed it on a local host.

However I have problems to get some examples running.

The Ext object seems not fully loaded as calling Ext.application will result in an "undefined is not a function" error (for the full list, see attachement).

Code:



[W] Overriding existing mapping: 'Ext.CompositeElement' From 'Ext.dom.CompositeElement' to 'Ext.dom.CompositeElementLite'. Is this intentional? Util.js:679
Uncaught TypeError: undefined is not a function app.js:1
[W] Overriding existing mapping: 'Ext.CompositeElement' From 'Ext.dom.CompositeElementLite' to 'Ext.dom.CompositeElement'. Is this intentional? Util.js:679
[W] Ext.data.Store created with no model. Util.js:679
[W] Private method "schedule" declared by Ext.data.session.Binding hides public method inherited from Ext.util.Schedulable Util.js:679
[W] Private method "sort" declared by Ext.data.session.Binding hides inherited public method. Util.js:679



This affects namely those using Ext.application at the beginning, which don't use bootstrap.js:

* ext-5.0.0.736/examples/MVC/pandora/index.html

* ext-5.0.0.736/examples/history/history-router.html

* ext-5.0.0.736/examples/app/feed-viewer/feed-viewer.html

* ext-5.0.0.736/examples/app/nested-loading/nested-loading.html

* ext-5.0.0.736/examples/app/simple/simple.html

* ext-5.0.0.736/examples/neptune-components/index.html

* ext-5.0.0.736/examples/grid/simjax-paging.html

These examples that also call Ext.application, but use bootstrap.js are working fine

* ext-5.0.0.736/examples/charts-kitchensink/index.html

* ext-5.0.0.736/examples/desktop/index.html

* ext-5.0.0.736/examples/portal/index.html

* ext-5.0.0.736/examples/simple-tasks/index.html

* ext-5.0.0.736/examples/ticket-app/index.html


All HTTP requests are working fine (status 200) and I'm a bit puzzled what might be causing it.

Has anyone encountered similar problems in the past?





Aucun commentaire:

Enregistrer un commentaire