cancel
Showing results for 
Search instead for 
Did you mean: 

create popup - not an external window

Former Member
0 Kudos

Hi guys.

how can I create a popup with webdypro for java?

With createExternalWindow() (which is deprecated by the way, is there a new way to do that differently now? ) I can create a new window. but I just need a regular URL-popup.

regards milad

Accepted Solutions (1)

Accepted Solutions (1)

chintan_virani
Active Contributor
0 Kudos

Milad,

You can use createModalWindow or createNonModalWindow method.

IWDWindow popup = wdComponentAPI.getWindowManager().createModalWindow(<IWDWindowInfo>); 

Chintan

Edited by: Chintan Virani on Feb 25, 2008 8:37 AM

Former Member
0 Kudos

thanks chitan, but it still opens a new window, with navigation bar and all that stuff.

regards milad

chintan_virani
Active Contributor
0 Kudos

Milad,

You can remove the window features. Check this code:-


		IWDWindow popup = wdComponentAPI.getWindowManager().createModalWindow(<IWDWindowInfo>);
		popup.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
		popup.removeWindowFeature(WDWindowFeature.STATUS_BAR);
		popup.removeWindowFeature(WDWindowFeature.MENU_BAR);
		popup.removeWindowFeature(WDWindowFeature.TOOL_BAR);

Chintan

Former Member
0 Kudos

tanks a lot..that works for me.

regards milad

Answers (0)