on 09-26-2007 9:36 AM
Hi,
Can anybody send me the code for closing the portal window.
rgds,
Vishal
hi, find the code below.
function closeWindow()
{
var currWindow = window.top;
currWindow.opener = window.top;
currWindow.close();
}
Now open InterfaceViews-><ViewName>InterfaceView
Create an Exit outboundplug with parameter Url(use the same name in the scenario) of type String. Save all metadata.
Inside the closeAction, written following code
String url=WDURLGenerator.getWebResourceURL(wdComponentAPI.getComponent().getDeployableObjectPart(),"Close.html");
wdThis.wdGet<ViewName>InterfaceViewController().wdFirePlugCloseWindow(url);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
chk it
/people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.