Skip to Content
author's profile photo Former Member
Former Member

wdDoExit Method

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 06:46 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.