hi!
I have a indeterminate jprogressbar on my form then onclick of a button calls a web service. the jprogressbar seems to stop moving. how can i have it moving until i receive my response from the web service?
function processrequest(event) {
var content = "aaa";
var url = "xxx";
elements.bean_progressbar.visible = true;
var response = cmn_sendRequestToService(event, content, url);
}
function cmn_sendRequestToService(event, content, url) {
var responseBody = null
var client = plugins.http.createNewHttpClient();
//Create a new request of specified type.
var request = client.createPostRequest(url);
application.output("content="+ content)
request.setBodyContent(content)
var response = request.executeRequest()
return response;
Thanks and Regards