cancel
Showing results for 
Search instead for 
Did you mean: 

Open model in a PopUp window

Former Member
0 Kudos

Hi,

I have created a component which contain a button named 'open model'.

The buuton action is to open a model in a pop up window. This model is not part of my project but an external one.

I do not want to use a NonModel function.

What is the right code to do so?

Thanks,

Matan Barak

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Matan,

I'm not entirely sure what you are trying to do here. My guess is that you want to replace the screen you are looking at with this pop-up window and return to it ones you are ready.

I would do the following:

  • If you are using a component in another DC: Add the external component to the public part of the DC

  • Add the external DC to the used DC list of the component

  • Add the external component as a used webdynpro component.

  • Create a view with a ViewContainerUIElement in the component where you want to use the external component.

  • Add the window of the exernal component to the window in the using component.

The external window will now be visible in the component.

Jeschael

Edited by: J.V. Lebbink on Jan 31, 2008 7:43 AM -- Oeps maybe to short.

Former Member
0 Kudos

Hi ,

Thanks for you answer but I need to open it as a model and a non model.

is ther ea was to do it?

thanks,

Matan

Former Member
0 Kudos

Hi,

IWDWindow win = wdComponentAPI.getWindowManager().createNonModalExternalWindow(URL, title)

win.show();

Regards

Ayyapparaj