1. #1
    Ext User
    Join Date
    Jan 2008
    Posts
    3
    Vote Rating
    0
    colin.jones is on a distinguished road

      0  

    Default Direct Method not firing callback.

    Direct Method not firing callback.


    I am making extensive use of Direct for both stores and arbitary function calls. I have noticed on occasion the callback functions of ad-hoc calls are not fired upon successful Direct-server interaction.

    Unfortunately I do not have a cast iron fault-case. But have pin pointed the problem to the callback definition. After inspection of the transactions within the Ext.Direct singleton, I have noted that in some cases the cb property of the transaction is undefined. Furthermore if I manually set it after calling the function, it works!

    PHP Code:
    users.addUser({
      
    username:'Johnny',
      
    forename:'Johnny',
      
    surname:'Vegas'
    },console.info);
    // In some circumstances the callback is not registered, although the transaction
    // is conducted successfully

    Ext.Direct.getTransaction(Ext.Direct.TID).cb console.info;
    // this manual registration following the Direct call successfully makes
    // the callback fire, when the transaction completes... 
    I'd be grateful if anyone could elaborate further, direct further debug or alert if the work-around is a cardinal sin.

    Thanks, CJ

  2. #2

Thread Participants: 1

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