I have a collection of SASS unrelated to an Ext project. While I could go out and have a separate install of compass I'm wondering if I can use the CMD tool (with compass built in) to compile some...
Type: Posts; User: lukepatrick
I have a collection of SASS unrelated to an Ext project. While I could go out and have a separate install of compass I'm wondering if I can use the CMD tool (with compass built in) to compile some...
Would the Sencha CMD upgrade tool help getting started converting your code over or does that tool just adjust the project scaffolding?
Upgrading from Ext JS 4 to 6, is it possible? Would it be better to go to 5, then to 6?
None. It's very basic:
singleton : true,
config : {
},
constructor : function (config) {
this.initConfig(config);
},
requires : [someOtherControllers],
Those were dummy examples. I can share this example:
[WRN] C1009: Circular reference in requirements chain (
\ext\src\app\Application.js ->
\app\Application.js:95 [ClassRequire] ->...
Not typically what I am seeing, however I'm still looking for ways to get more insight out of these warnings.
I've sort of fixed my issue. What I was seeing:
Before the 404 on myModel.js I would also see errors for things like "could not find proxy.Rest (or reader.xml or proxy.JsonP, etc..)."
If I then...
Like so?
sencha app build testing -d
That gives no more details.
The app doesn't work yet (in testing or production), I'm not sure if this "Ext.Base warning" is the central issue or if it's...
CMD 5.1.2.52, ExtJS 4.2.0.663
When I run a production or testing build, I will see in my browser console logs GET requests for http://{host}/myApp/models/myModel.js and/or...
CMD 5.1.2.52, ExtJS 4.2.0.663
When I'm building my app I frequently see the warning for "Circular reference in requirements chain."
I can hunt and peck through my Application.js requires and my...
CMD 5.1.2.52, Ext 4.2.0.663
Whenever I build (sencha app build or sencha app build testing or sencha app refresh) I always see the warning for "unable to locate files for external reference :...
I believe this is the issue. If I'm using ExtJS 4 SDK with CMD 5 I should throw out the Cmd 5 guide - e.g. the Microloader concept doesn't exist with SDK 4. The bootstrap.js generated by CMD5 with...
Thanks for the response. I understand the bootstrap layout, though confused that the 'autogenerated code' doesn't seem to have everything we are looking for. I'm following the Microloader docs:...
Thanks. I get that process. However, bootstrap.js is an auto-generated file, correct? If I run a 'sencha app refresh' or 'sencha app build', the file is created or updated.
The first few lines are...
For development, how does Ext.Loader work if Ext hasn't been defined? If my index.html only has a reference to bootstrap.js, how does it understand the details of app.json?
In the process of bringing an existing app to the CMD process, what are the changes to the development life-cycle?
Currently I have a few hundred JS files (laid out in typical MVC structure:...
Why would you use the classpath versus adding the classes to a 'requires' or as an included JS reference (index.html/app.json JS array)?
Thanks for the response. Can you expand a bit? Would you recommend not using the Ext.Loader at all? When adding to the classpath, use the "JS" array in app.json, correct?
What are the best TODO / sample Ext apps that use and document everything regarding a CMD build app?
This is the best I've seen thus far, finding it by accident tucked within the SpaceExample app...
I've configured Ext.loader in my Application.js, though CMD doesn't seem to understand this configuration:
Ext.Loader.setConfig({
enabled : true,
//disableCaching: false,
paths :...
Using CMD v5.0.3.324, ExtJS v4.2.0.663 The original question though, how does one debug this error??
[ERR] BUILD FAILED [ERR] java.lang.ClassCastException: org.mozilla.javascript.ast.StringLiteral...
Hey All,
I'm in the process of migrating an existing application to be able to build with CMD. I created a sample app with CMD and that builds without issue (sencha app build). If I copy this...
Getting 404's trying to access any files on the CDN:
GET http://cdn.sencha.io/ext-4.2.0-gpl/resources/css/ext-all-gray.css 404 (Not Found)
GET http://cdn.sencha.io/ext-4.2.0-gpl/ext-all-dev.js 404...
yes, you are on the right track. I experimented and tried all the layout types (vbox, fit, etc..), fit was the only one that worked
e.g.
Ext.require(['*']);
Ext.onReady(function() {
var...
I'm trying to combine a border layout within a card of a card/tab layout, whenever that card is viewed I get the ominous "Layout run failed"
Below is a code sample, taking from the card example and...