-
3 Oct 2011 12:50 PM #1
Unanswered: where to define an overwrite for Ext.data.BelongsToAssociation in MVC application
Unanswered: where to define an overwrite for Ext.data.BelongsToAssociation in MVC application
Hello @all,
I need to define an overwrite for Ext.data.BelongsToAssociation.
As this is an app following the MVC guides of ExtJS 4, I have no idea where to define this overwrite.
In app.launch / onReady would be to late, as the models are being autoloaded.
Are there any ideas or best practices?
Best greets,
Mario
-
8 Oct 2011 4:56 AM #2
-
11 Oct 2011 3:21 PM #3
-
11 Oct 2011 3:43 PM #4
This is not an Ext Core question, so that is probably why you didn't get an answer here.
But I normally do this:
Code:Ext.require('Ext.data.BelongsToAssociation', function() { Ext.data.BelongsToAssociation.override({ .... }); }); Ext.application({ .... });


Reply With Quote