[CLOSED] Intercepting errors that occurred in webservice

  1. #1

    [CLOSED] Intercepting errors that occurred in webservice

    Last edited by Daniil; Jul 24, 2012 at 2:35 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please set up:
    userFailure : function () {
        alert('Error');
    }
    By the way, Ext.net.directRequest is designed rather for DirectEvents which are defined in the markup or code behind.

    For requests managed from client side please use
    Ext.net.DirectMethod.request({ /* request config */ })
    instead of
    Ext.net.directRequest
    In that case you will need to use "failure" instead of "userFailure".
  3. #3
    Works very fine!

    Thanks Daniil!

Similar Threads

  1. [CLOSED] Compilation with errors.
    By majunior in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Dec 28, 2011, 4:42 PM
  2. [CLOSED] Errors regarding TreePanel
    By jesperhp in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 16, 2011, 8:30 AM
  3. [CLOSED] Errors in extnet css
    By acrossdev in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 07, 2010, 9:00 AM
  4. Replies: 0
    Last Post: Dec 27, 2009, 1:47 PM
  5. A Runtime Error has occurred
    By mono in forum 1.x Help
    Replies: 1
    Last Post: Mar 11, 2009, 8:31 AM

Posting Permissions