Hi Isomorphic. Is there any way to set the actionUrl for a server DSRequest, like it it possible for a client DSRequest?
I need to do this (I think) so that I can specify the locale explicitly, in order to get my server side requests to return validation messages in the user's locale. These requests are created to perform some DataSource.OP_ADD operations, and the localized messages are important so that I can tell the user what failed in the process, in case of errors.
This is what I am trying to use, since I didn't find a setActionUrl method, but with no success:
I already verified that the URL is correct client side, but when I open the Developer Console, my server requests are not being sent to this url, so the problem is that clearly this is not the way to set the url for the requests.
Is this the right approach to try and localize the messages from my server side DSRequests?
By the way, I am using 6.0p 2016-04-12.
Thanks
I need to do this (I think) so that I can specify the locale explicitly, in order to get my server side requests to return validation messages in the user's locale. These requests are created to perform some DataSource.OP_ADD operations, and the localized messages are important so that I can tell the user what failed in the process, in case of errors.
This is what I am trying to use, since I didn't find a setActionUrl method, but with no success:
Code:
DSRequest.setAttribute("actionUrl", "http://localhost:8081/MyApp/myapp/sc/IDACall?locale=es");
Is this the right approach to try and localize the messages from my server side DSRequests?
By the way, I am using 6.0p 2016-04-12.
Thanks
Comment