cancel
Showing results for 
Search instead for 
Did you mean: 

View Container

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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(    ).

Refer this thread too []

Regards,

Radhika.

Answers (0)