Aaron,

I have the same problem, let say that you define a basic function in the aplicaciĆ³n, it ask you in the component config 2 things: fn and param

Then in the code of thet function you put what is the function and if you see the code will be like this:

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


Ext.application({
    views: [
        'MyPanel'
    ],


    autoCreateViewport: true,


    name: 'MyApp',


    launch: function() {


    },


    mensaje: function(texto, texto2) {
        function mensaje (texto,texto2) {console.log(texto+" "+texto2)};
    }


});
So you have the function mensaje defined in your app,

The question is how you can call your function?

Thanks