Skip to Content
May 12, 2004 at 08:27 AM

Show a View in a separate Window


Hi there,

I have an application that shows the users favorites Assets in a tree. He can press a customize button and a window should popup showing two trees where the user can selected and deselect new favorites (via moving nodes and leaves from the one tree to the other tree).

My application consists of a custom controller and two views. Both view contexts are mapped to nodes in the custom controller.

When I press the button "customize" on the first view I want to open the second view in a new window.

How can I create such a new Window showing a view or maybe a window of the same application.

I found the following:

wdThis.wdGetAPI().getComponent().getWindowManager().createExternalWindow(URL, boolean) that would work fine if I had no mapped contexts to start a separat application.

wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(IWDWindowInfo, boolean) but I don't know how I can get the IWDWindowInfo of a window in my application.

I would appreciate if someone could provide my some hints and maybe some sample code lines.

Thanks in advance.