ok ... for some reason the code that i get from the EXT JS 4 MVC architecture do not work.
i can't load the controller ... i don't understand why ... please help.
need to use controller for it won't work at all !!!
app.js
--------
Ext.application({
name: 'AM',
appFolder: 'app',
controllers: ['AM.controller.Users'], // ---> if i remove this, it will work but i wont have a controller
launch: function () {
var me = this;
Ext.create('Ext.container.Viewport', {
layout: 'fit',
items: [
{
xtype: 'panel',
title: 'Users',
html: 'List of users will go here'
}
]
});
console.log('hello from app.js');