Announcement

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

    Validation Popup not going away

    Hi,

    I am currently using SmartGwt version 13.0-p20230122.

    In a page, we have multiple list grids binded to the same datasource, but having one different parameter in their fetch criteria. There is a name field that is shown in the grid for all these which needs to be unique across the grids. To achieve that I have isUnique validator on the field in its ds.xml.

    When a user tries to enter the same name in one of the grids, it's triggering a server-side validation and momentarily displays a validation popup. This popup goes away if the exitHandler was triggered by either clicking in some empty space or when clicked on another row of same grid. But if we click on name field of some other grid in the page this popup does not goes away. This happens only when the same field is clicked for which validation is triggered.

    Click image for larger version

Name:	Validating_Popup.JPG
Views:	113
Size:	3.5 KB
ID:	269537

    #2
    Normally, that prompt should be dismissed by the RPCManager when the server reply is received. Are you doing your own error handling for the request, or using the default RPCManager error handling?

    Please take some screenshots of the RPC tab in the Developer Console for this interaction. See the debugging and RPC Tab help topics for information on the Developer Console, and RPC Tab, respectively.

    Even more helpful would be if you could show us some standalone code that reproduces your issue.

    Comment


      #3
      We were customizing the exit handler which was causing this issue. We have resolved it.

      Thanks for your help!

      -Zhene

      Comment

      Working...
      X