on 2007 May 28 12:35 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shweta,
as i discussed with you to update the script code
<html><script> function closeWindow( ){ top.close( ); } </script><body><form> The application was logged off successfully. <br><input type="button" value="close window" onclick="closeWindow( );" /></ form></body></html>
in sicf transaction for your component.
it will work (close the window).
dont forget to give me points
all the best...
Rgds,
Mahesh.Gattu
User | Count |
---|---|
73 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.