Announcement

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

    Reg:ListGrid Validation

    Hi,

    When we are getting any java exception like nullpointer then we are getitng that exception in alert box. This happening when I am doing DynamicForm.saveData(). But the same is not happening in ListGrid.endEditing().

    I am overriding the RPCManager properties:

    Code:
    isc.RPCManager.addClassProperties({
    		 willHandleError:true,
    Couls you please suggest me something to make the same work in ListGrid.

    We are using below version:

    Isomorphic SmartClient/SmartGWT Framework (v9.0p_2014-01-14/PowerEdition Deployment 2014-01-14) - Initialization Complete

    Browser : IE9

    Thanks in Advacne

    #2
    RPCManager has no property willHandleError, so that code does nothing.

    If your server throws an exception and this results in a response to the client signalling a general error (status=-1), this will automatically show an alert box like you want.

    So your server code or other customizations seem to be interfering with default behavior. We would need you to post all of the required diagnostics (RPC tab responses, server logs, etc) in order to help further.

    Comment

    Working...
    X