cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to open an external modal window in Portal?

Former Member
0 Kudos

Hi all,

We have an Webdynpro based iview in the portal. When press an button on this iView, we want to open an external modal window ,So is this possible to implement?

Thanks and Best regards

Deyang

Accepted Solutions (1)

Accepted Solutions (1)

Ulli_Hoffmann
Contributor
0 Kudos

Hi Deyang,

working with popups is pretty well covered in

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/dialo... boxes in web dynpro applications.pdf.

regards, Ulli

Former Member
0 Kudos

Hi Ulli,

Thanks for your quick reply.

I tested the following api:


IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow("http://www.google.com/","Google",true);
		window.open();

But this api createExternalWindow() was deprecated in my NWDS(Version: 7.1.0). and the it always open an nonmodal window.

So is there any other solution?

Best regards

Deyang

Former Member
0 Kudos

Internet explorer 4+ has a method javascript method on the window class showModalDialog which can be used.

See http://www.w3schools.com/htmldom/dom_obj_window.asp

and http://www.codeproject.com/aspnet/Modal_Dialog.asp for more information.

Answers (0)