cancel
Showing results for 
Search instead for 
Did you mean: 

select which view to show in a popup window

Former Member
0 Kudos

Hi all,

in my WD4A application I have several popup windows. So I have created one window with one view for every such purpose (and call them via if_wd_window_manager->create_window).

My question: Is it possible to create one (generic) window, attach all possible views to it and select the view I want to load during call of the popup window (maybe via an inbound plug)?

Thanks in advance!

Kind regads, Matthias

Accepted Solutions (1)

Accepted Solutions (1)

thomas_szcs
Active Contributor
0 Kudos

Hi Matthias,

Yes, you can navigate to any embedded view in the inbound plug of the window.

Best regards,

Thomas

Former Member
0 Kudos

Ok, but how to do that?

How to set the wanted plug/view at the calling of the popup?

Former Member
0 Kudos

hi matthias,

consider you are clicking buttons to select respective views.....

use the 'if' statement to trigger the respective inbound plug of the view.

it works.

---regards,

alex b justin

former_member196517
Contributor
0 Kudos

Hi Mathias ,

what you can do is prepare window set one view as a default......now in wdoinit of window you fire a outbound plug (linked to inbound of different views) depending on your check it will navigate to desired view.. this is what we have done in EHP's also...where depending on switch state we navigate to old or new views..

Regards

Anuj Goyal

Former Member
0 Kudos

Yes, I've done it in a similar way.

Thanks.

Answers (0)