cancel
Showing results for 
Search instead for 
Did you mean: 

Tabstrip view container dynamic

Former Member
0 Kudos

Dear Experts,

I have a Main view in which i have a tab strip with 1 tab.This tab has a view ui container in it.

I have two other views, view1 & view2.

At runtime, i decide whether i have to display view1 or view2 in the View ui container of tabstrip . So how should i do this???

Kind Regards

Sajid

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Follow this approach :

1. Create plugs for both your views ( view1 and view2 ) and create Chain in the Window of the Component.

2. Embed all the 3 views in the ViewContainer

3. Now just fire the appropriate plugs based on your condition

wd_this->fire_op1_plg(    ).

Refer this thread too []

Regards,

Radhika.

shaik_sajid
Active Contributor
0 Kudos

Hi,

As u said,i have embedded view1 and view2 in the view container ui element which belongs to main view in the window.

But after this u said to create a chain in the window...Can u please tell me how to create this chain.

Regards

Sajid

Former Member
0 Kudos

Create outbound plugs in the Main View and Inbound plug in View1 and View2.

Create the chain as follows:

Goto window, right click on the oubound plug and create navigation click and select the inbound plug of View1. Similarly link 2nd outbound plug to the inboung plug of View 2.

Now fire the outbound plug 1 to call View1 and outbound plug 2 to call View2.

Hope this is clear.

Radhika.

shaik_sajid
Active Contributor
0 Kudos

Dear Radhika,

its working..Thanks a lot.......

Regards

Sajid

Answers (1)

Answers (1)

Former Member
0 Kudos