cancel
Showing results for 
Search instead for 
Did you mean: 

wdDoExit Method

Former Member
0 Kudos

Hi All,

Can anybody tell me , at wat point exactly wdDoexit() method is called in a webdynpro application . I have a senario where , I need to close and external window when the parent page unloads. Is this possible from wdDoExit() ?

Thanks ,

Tony Isaac.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,


Standard hook method called at the end of a controlleru2019s life cycle. All your cleanup code should go
here.
This method is called immediately before the controlleru2019s lifecycle comes to an end

Whenever u click on the close button WDF calls wdDoExit()

first then it destoys the instance of controller.This method is

always used to unacquire some external resource that u might

have have acquired during execution and which requires

excluive release.e.g can be used for releasing locks.

Regards

Surender Dahiya

Former Member
0 Kudos

Hi Surender,

I am using the same concept . I have and external Popup window , whose instance I am catching in wdDoExit() and trying to close the popup on Parent Window exit. But my problem is wdDoExit is not at all called when my page is exited. Is thr any other solution for this ?

Thanks,

Tony.

Former Member
0 Kudos

Hi

Have you called the code for closing the pop-up in the wdDoExit of parent window or of the pop-up.

If the code is in the wdDoExit of pop-up, you need to put it in wdDoExit of parent window.

Also , try using a finally block.

Regards,

Sudeep