on 05-29-2009 4:57 PM
Hi ,
I have a requirement.
In my view, I have 3 buttons like:
1.Create
2. Cahnge
3. Display
And I have One view container.
Now My requiremnt is, if I select create, in the view conatiner, cretae view should get display.
The same way, for display..display view.
For change, change view shud get display in view conatiner.
Can you please let me know, dynamically how can I call the view in the view container.
Regards
Sandeep
If i understand your query correctly, you want to display 3 different views in the same ViewContainer uielement based on the button action.
If so, you can achieve this using plugs. Follow this approach :
1. Create plugs for all the 3 views and create Chain in the Window of the Component.
2. Embed all the 3 views in the ViewContainer in the Main View over there.
3. Implement the onAction event for all the 3 buttons
4. Now just fire the appropriate plugs in these 3 methods
wd_this->fire_op1_plg( ).
Regards,
Radhika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.