Skip to Content
author's profile photo Former Member
Former Member

Open model in a PopUp window

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 11:26 AM

    Hi,

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

    win.show();

    Regards

    Ayyapparaj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 11:39 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:12 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.