Can i change the view embbed in viewContainerUIelement in code?
I have defined a viewContainerUIelement in my MAINVIEW and several VIEWs in my component. Each time, I start the WD application, I need the viewContainer choose one of the VIEWs to show according to some conditions. How can i realize it in my code?
After Embedding all the required views in the View UI Container , link them through the plugs and fire the relevent plugs of the View which want to display.
Eg, if Embed View A, View B, View C in the Main View,Link these Inbound plugs from the View A, View B ,View C to Main Outbound Plugs .After that call the Relevent outbound plug in the WDOINIT method in the Main View