Hello i very sorry for my question, i think that it's a beginners question but i would to set my application namespace in my window title.
And this is the code how i set my window title
Ext.application get namespace
My application.js
Code:
Ext.application(
"MyApp.Application",
{
name: "MyApp"
.........
}
)
And this is the code how i set my window title
Code:
var win = Ext.create('MyApp.view.About');
win.setTitle('About to' <<now i would to get myapp namespace. i use MyApp.getApplication().getName() but i receive errors>>);
win.show();
Ext.application get namespace
Aucun commentaire:
Enregistrer un commentaire