Skip to Content
0
Former Member
Sep 22, 2008 at 02:46 AM

Modal window can't show window with viewset???

35 Views

Hi all,

I use the following code to create a popup modal window. When i embed only one view, it works fine, but when i embed a viewset, and put multiple views into the viewset, it can only pop up a tiny little area with nothing in it.

is there a reason for this? what do i do to pop up a window with viewset?

Thanks!

	IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("OneWindow");
	IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
	window.setWindowPosition (300, 150);
	window.show();