I was wondering if anyone in the community has used DWR to make synchronous AJAX calls from your client code (i.e. javascript or jsp/tag files)
I have tried setting the async flag to “false” before defining the callback as “Google” and “Bing” research have suggested, but to no avail.
The AJAX call is still happening asynchronously, thus the async flag that I am setting is doing absolutely nothing.
Any help would be appreciated.
Although my question is specific to KC, the KFS framework is very similar thus my reason for CC’ing the KFS collab on this as well.)
Thank you!

Just a follow up on this one.
I reached out to DWR technical support and they said that what I was doing should have been working, but if it wasn’t, I could send my code in and they would get back to me with a solution or file a bug if they uncovered one.
In the meantime they recommended moving all the dependent javascript code on the value returned in the HttpObject into the callback (essentially chaining all my callbacks together).
This callback-chaining approach worked – but only after some moderate refactoring of the code.
Hopefully this saves somebody some hair pulling down the road if a similar situation arises.
Cheers.
To unsubscribe from this group and stop receiving emails from it, send an email to kc.technical.co...@kuali.org.