1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    NL
    Posts
    608
    Vote Rating
    1
    mdissel is on a distinguished road

      0  

    Default handling exception in form submit, visible msgbox is removed

    handling exception in form submit, visible msgbox is removed


    When you catch exceptions at Ext.direct level by this code
    Code:
    Ext.Direct.on('exception', function(e) {
        Ext.Msg.show({
               title:'Woops!',
               msg: e.message,
               buttons: Ext.Msg.OK,
               icon: Ext.MessageBox.ERROR
        });
    });
    The msgbox is not shown, because in the afterAction of the submit action the dialogbox is hidden.

    Suggestion:
    Prevent bubbling the exception to other components by returning false from Ext.Direct exception event..

    (see http://www.extjs.com/forum/showthrea...=72245&page=16 for more discussion around this issue)

  2. #2
    Sencha User
    Join Date
    Jun 2010
    Location
    Buenos Aires, Argentina
    Posts
    213
    Vote Rating
    9
    ldonofrio will become famous soon enough

      0  

    Default


    i've solved this executing the Msg.show in a DelayedTask

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