Hi Team,
This is regarding request for suggestion to resolve the error we are facing while using Custom Validation with Smart Client framework.
Smart Client Used:
SmartClient_v90p_2013-11-27_PowerEdition
Browser Used:
IE 8.0 / IE 9.0
Below is the scenario:
We have many UI fields validation while addition/update of the records to a Grid/Form on SAVE action.
We are able to add/update records without any issue, however quite often say, once in 3rd try, we are not able to perform any action on the records.
There are no errors on screen however, in logs, we get attached messages that dsRequests are pending [Ex. getDSRequest() on multiop RPC (8 requests pending)].
This is the show-stopper error as we are not able to proceed working on the record from UI until we reload the page.
Brief about the Validation process implementation:
We have JSP for the view for which we have configured the DS files.
These DS files have datasource fields mapped to a Custom Validation Java file.
The Validation file has the "condition" method accepting dsRequest object to perform validations and return the result (pass/fail). If fail, then it shows the custom error message against the corresponding field in the Smart Client way.
Have attached one such DS file and Custom Validation File for your reference.
Kindly check if the implementation is correct or there any lapse which is resulting in dsRequests Pending error without further processing the request.
Please let us know if you need more information on this. Appreciate your inputs/suggestions. Thanks!
This is regarding request for suggestion to resolve the error we are facing while using Custom Validation with Smart Client framework.
Smart Client Used:
SmartClient_v90p_2013-11-27_PowerEdition
Browser Used:
IE 8.0 / IE 9.0
Below is the scenario:
We have many UI fields validation while addition/update of the records to a Grid/Form on SAVE action.
We are able to add/update records without any issue, however quite often say, once in 3rd try, we are not able to perform any action on the records.
There are no errors on screen however, in logs, we get attached messages that dsRequests are pending [Ex. getDSRequest() on multiop RPC (8 requests pending)].
This is the show-stopper error as we are not able to proceed working on the record from UI until we reload the page.
Brief about the Validation process implementation:
We have JSP for the view for which we have configured the DS files.
These DS files have datasource fields mapped to a Custom Validation Java file.
The Validation file has the "condition" method accepting dsRequest object to perform validations and return the result (pass/fail). If fail, then it shows the custom error message against the corresponding field in the Smart Client way.
Have attached one such DS file and Custom Validation File for your reference.
Kindly check if the implementation is correct or there any lapse which is resulting in dsRequests Pending error without further processing the request.
Please let us know if you need more information on this. Appreciate your inputs/suggestions. Thanks!
Comment