1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    51
    Answers
    1
    Vote Rating
    2
    koblass is on a distinguished road

      0  

    Default Answered: Dynamic reload

    Answered: Dynamic reload


    Hi,

    I would like to reload portion of my application without having to refresh it completely.

    In order to do this I use a Ajax request to load the code (classes) and evaluate it.

    The problem is that the Ext.define doesn't work if you try to "redefine" the same class.

    For instance if I load the following class:

    Code:
    Ext.define('Test.namespace.MyClass', {
        extend: 'Ext.Base',
        sayHello: function() {
            Ext.Msg.alert('say hello');
        }
    });
    This is working the first time, but if I reload it a second time this is not working.

    How could I do to "undefine" or "unload" a class in order to be able to reload it.

    Best regards
    Daniel

  2. Sorry for my previous post.

    I just installed version 4.0.7 and this is working perfectly !

    Thanks
    Daniel

  3. #2
    Sencha User
    Join Date
    Mar 2010
    Posts
    51
    Answers
    1
    Vote Rating
    2
    koblass is on a distinguished road

      0  

    Default


    Sorry for my previous post.

    I just installed version 4.0.7 and this is working perfectly !

    Thanks
    Daniel

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi