cancel
Showing results for 
Search instead for 
Did you mean: 

Preserve reference to window

Former Member
0 Kudos

Hi

I have created a window using following code :

IWDWindowInfo windowInfo = 	wdComponentAPI.getComponentInfo().findInWindows("AddressBookWindow");
	IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
	window.setWindowPosition(WDWindowPos.CENTER);
	window.open();

Now I need to preserve window instance.

What should be the "type" of context element that stores this window instance.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

Hi

It should be of type IWDWindow

Thanks,

Sarbjeet Singh

Former Member
0 Kudos

Ya, but I am unable to find this "type" in Java dictionary -> Local dictionary in web dynpro java.

gill367
Active Contributor
0 Kudos

It won't be present in the local dictionary. Go to Java native type (i.e click on the radio button Java Native Type) and then

click on browse and after then search IWDwindow there and select it.

Thanks,

Sarbjeet Singh

Answers (0)