Skip to Content
0
Former Member
Mar 28, 2005 at 11:20 PM

How to control external window from the webdynpro application

70 Views

Hi

I have two applications to be running and from my first application on click of a button, I am invoking the second through this piece of code

-


IWDWindowInfo windowinfo = wdComponentAPI.getComponentInfo().findInWindows("WdAppl1view2");

IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow("http://.../local/testappltoappl/Appl2?SAPtestId=14","second",false);

window.setWindowPosition(WDWindowPos.CENTER);

window.setWindowSize(300,200);

window.open();

-


The second application is opening in new window fine, but my requirement is when I click on the next time I need to open the it in the same second window and is it possible to identify/know whether already the second window is open before invoking it ? do we have some way of getting that window instance ?