Skip to Content
avatar image
Former Member

How to give a POP up window on closing the browser or clicking on X button at browser???


I have a requirement to give a popup confirmation window before closing a webdynpro application on browser. Can somebody please help me in this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 25, 2014 at 11:10 AM


    Hi Rama and Katrice,

    Can you please elaborate the Dirty method through FPM feeder Classes.

    Thanks

    Syed

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2014 at 07:50 AM

    Hi Shehzad,

    We cannot control the browser button events in webdynpro and hence we cannot show popup window on click of 'X' browser button.

    The other work around would be creating button(namely CLOSE) and you can raise the GO_DATA_LOSS popup.

    For more information, you can refer this link

    Thanks

    KH

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 25, 2014 at 07:52 AM

    Hi,

    In stand alone application of WD, its not possible to capture the close event of browser. But if your application is running using portal, it is possible to use the DIRTY flag concept.

    Regards,

    Rama

    Add comment
    10|10000 characters needed characters exceeded