Nov 26, 2011, 3:08 PM
[1.2] DirectMethod.request, webservice and success/failure
Hi
I have implemented DirectMethod to call a webservice in order to validate soecfic edits in a gridpanel
It is working well, I just wonder if there is any way I can make use of the failure in case the validation comes out with "not valid"?
My implemtation is more or less a copy of the this example
https://examples1.ext.net/#/Events/D...ds/WebService/
I'd like to return a failure response if possible, but how?
Otherwise I will extend my success response and extend my javascript invoked in case of a "success"
Thanks in advance /Peter
I have implemented DirectMethod to call a webservice in order to validate soecfic edits in a gridpanel
It is working well, I just wonder if there is any way I can make use of the failure in case the validation comes out with "not valid"?
My implemtation is more or less a copy of the this example
https://examples1.ext.net/#/Events/D...ds/WebService/
I'd like to return a failure response if possible, but how?
Otherwise I will extend my success response and extend my javascript invoked in case of a "success"
Thanks in advance /Peter