Skip to Content
avatar image
Former Member

Close portal window ( popup ) through an button event within the wd-app

Hello Experts,

the scenario is as follows:

i click on a link within the enterprise portal environment and it opens a wd application within a popup( portal window ). This application has a CANCEL button. when a user clicks on this the portal window should close. How can this be achieved ?

I tried firing the outbound plug of type exit of the wd app main window, but it just blanks out the screen and doesn't close the window it self.

Regards,

Shweta

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 28, 2007 at 03:29 PM

    Yeah it doesn't work in the normal course.But there are some work around like creating an html script page in the SICF transaction which contains the following code.

    <html

    <head>

    <script language="JavaScript">

    function closewindows()

    {

    window.close();

    }

    </script>

    </head>

    <body onload="closewindows()">

    </body>

    </html>

    .

    Regrads

    A

    Add comment
    10|10000 characters needed characters exceeded