on 04-13-2012 12:34 PM
Hi, just a simple question, when I created the component I initially wrote the wrong view to be called. How do I change that afterwards?
I have a main view called MAIN which consist of a view container element. Inside the view container I have embedded two views.
I would like to call the view called MAIN and depending certain circumstances call either view A or view B.
Thank you, regards Lena
Hi Leena,
Answer to your first question, to set the view to be called first, you could go to the window and in side the window set the view as default (right click on the view, choose set as default) which you want to call first.
For your second question. For each view ( A and B ), you would have a outbound - inbound plug configured in windows. Based on your condition call the outbound plugs, as per out bound plugs the view would be called in the view container of your man view.
Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Leena,
Create 2 outbound plugs in your main view( 1 for view A and 1 for view 2). Create inbound plugs for each view view A and view B. Go to your window, drag your 2 views A & B to the view container element of Main view. There you configure your inbound plugs and outbound plugs with respective views.
Now in your method of main view, according to your condition call the respective outbound plugs of main view.
I hope this will solve your doubt.
Regards,
Nitin
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.