ExtJS application will not start

I am new to ExtJS (4.1) and now I am trying to make an MVC application work, but there seems to be a bug somewhere. Here is my app.js:

Ext.Loader.setConfig({enabled:true});

console.log("out");

Ext.application({
name: 'FI',

controllers:['ListController'],
launch: function() {
    console.log("launch");
   }
});

and this is the ListController:

Ext.define('Fi.controller.ListController', {
extend: 'Ext.app.Controller',
id: 'installBaseListController',
init: function() {


    console.log("init");
   }
});

All the needed js files are loaded properly and no errors are displayed in the console.

However, the only message displayed is "out", meaning that the controller does not get instantiated and the applicationa itself doesn't start. Why?

Answers


The application is named 'FI' (capital I) but the controller is on Fi (lowercase i)!


For future reference:

It also happens when you get any of the related files/classes Ext.define('Xxx.xxx.Xxxx') spelling wrong (case senstive)

Or, any of the launch / init/ initComponent functions spelling wrong (case senstive).


Need Your Help

Force Rails Heroku App from subdomain.herokuapp.com to apex domain?

ruby-on-rails heroku

What is the proper way to send a subdomain.herokuapp.com to the apex domain of the application? This is to avoid multiple domain names with the same content.

Why is a Login losing a User mapping?

sql-server sql-server-2008

Is there any way to determine why is a Login is losing a User mapping?