Results 1 to 4 of 4

Thread: where to define an overwrite for Ext.data.BelongsToAssociation in MVC application

  1. #1

    Default 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

  2. #2

    Default

    bump

  3. #3

    Default

    bump

  4. #4
    Sencha Premium User twaindev's Avatar
    Join Date
    Sep 2009
    Posts
    242
    Answers
    16

    Default

    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({
        ....
    });

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •