All,
I have a custom inbox. I open a pop up from the custom inbox to see the task details for the selected task. I have a asynch command button to delete the viewed task. The command button calls WmTaskClient service and deletes the task. On Asynch command button, i have added the following java script to the onclick event
CAF.model(‘#{activePageBean.clientIds[“button1”]}’).addActionCompleteListener(
function ()
{
window.close();
window.opener.location.reload();
}
);
My intention is to close the popup and then reload the main page that is the inbox page.
The deletion of the task works, the pop up closes and the inbox page refreshes as expected, but the actual refresh is not happening, I mean the task that was deleted still appears in the inbox. I have also a refresh button where i call the refresh in the action listerner, that works.
My question is, eventhough the inbox page is getting refreshed, why the actual refresh of the inbox is not happening and the task is not getting disappeared?
Any clues? thanks in advance
#webMethods#webMethods-BPMS#MWS-CAF-Task-Engine