Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How custom HandleErrorHandler can prevent the default one to be called?

    In java-doc for HandleErrorHandler class the description to "onHandleError" method reads:
    "Unless you return false from this method, RPCManager.handleError will be called by Smart GWT right after this method completes."

    It seems that this description assumes that "onHandleError" refurns boolean value. But this method returns nothing - void onHandleError(com.smartgwt.client.data.events.ErrorEvent event);

    Is it correct understanding that it is possible in SmartClient but in SmartGwt there is no possibility to add custom HandleErrorHandler and prevent the default one (RPCManager.handleError) to be called because we can not return anything from custom onHandleError method ?

    #2
    Call cancel().

    Comment


      #3
      Thank you. It works.

      Comment

      Working...
      X