on 01-20-2009 10:48 PM
Hi all,
I have written a wd4j application to be a callable object. When a user clicks to approve the request, a pop-up window appears and ask if they are sure. Upon clicking yes, the window should be closed and the GP should be completed. I am having an issue with completing the GP, as it completes before the window is destroyed and thus throws a null pointer.
Does any one know where I should a)destroy the window and then b) complete the GP?
I am closing the pop up window from my main window, via events raised by the component controller. I have tried to move the gp.complete around, but I am not able to get it to work
Thanks
Ryan
To finish the GP you should use
executionContext.processingComplete();
And to close the window popUp
Try to use this confirmation window
IWDConfirmationDialog dialog =
wdComponentAPI.getWindowManager().createConfirmationWindow(....)....
And in the actions that you decide
you should destroy with this line, when dialog its the pop up.
dialog.destroy();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.