Hello,
Now my problem:
I create and show this windows using this function:
And I destroy the windows like this(inside the window controller):
The problem is, that the translate function is only called on the very first create of a window. After that when I create a window again, it is never called...
But it should, as I "destroy" the windows.
Window create and destroy
I have this problem:
I have a lot of windows in my App and these windows containing a form.
And each field of theses forms get the field label set by a Translate function like this:
Code:
{
fieldLabel: Language.translate('E-Mail') + " *",
name: 'email',
vtype: 'email',
allowBlank: false
}
Now my problem:
I create and show this windows using this function:
Code:
var window = Ext.create ('Appp.name.of.window');
window.show();
And I destroy the windows like this(inside the window controller):
Code:
var window = this .view;
window.destroy();
The problem is, that the translate function is only called on the very first create of a window. After that when I create a window again, it is never called...
But it should, as I "destroy" the windows.
How can I solve this?
Thanks for your help,
Urkman
Window create and destroy
Aucun commentaire:
Enregistrer un commentaire