1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    NL
    Posts
    607
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar