Skip to Content
0
Former Member
Nov 21, 2008 at 06:55 AM

Opening New Window or Explorer

14 Views

Hi Everybody,

My scenario is like this I have one Webdynpro application which contains two Views , First View contains one Link (LinkToAction) when ever I clicks on that link Second View Should open in New Internet Explorer means new Window,

For this I have created 2 Windows which is having first/second view.

Following Code is there

IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI

.getComponentInfo().findInWindows("SecondWindow");

IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);

window.setWindowPosition(300, 150);

window.show();

// Save WindowInstance in Context

wdContext.currentPopupElement().setWindowInstance(window);

But still its opening same Window or explorer.

I tried with this method also.

IWDWindow window = wdComponentAPI.getWindowManager()

.createModalWindow(windowInfo);

Still it is not opening New Window.

Please help me out by opening New Window.

Thanks in advance.

AW