cancel
Showing results for 
Search instead for 
Did you mean: 

Popup Window Problem

Former Member
0 Kudos

Good day everybody,

i have created a window and embeded a view in it. And I used the following code to display the popup window:

IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");

IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);

window.setWindowPosition (300, 150);

window.show();

wdContext.currentPopupNodeElement().setPopupAttribute(window);

however, i got an error with the method "show()". I can not see it as defined method for window?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In older versions this method was named "open()".

Armin

Answers (1)

Answers (1)

former_member185086
Active Contributor
0 Kudos

Hi

Check the new window name which u have created .Everything is perfect in your code

wdContext.currentPopupNodeElement().setPopupAttribute(window);
		window.show();

Best Regards

Satish Kumar