cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping between one main component and two sub component

mahesh_jagnani
Participant
0 Kudos

Hi Experts,

I am facing one problem.

The situation is:-

I have one main WD Component which has a TABSTRIP in a view.

In that view ,TABSTRIP has 2 tabs.

Each tab is having a view container.

So there are two view container and each view container corresponds to one sub WD.

So finally we have 2 seperate WD (Let say WD1 and WD2 ) and one main WD.

In main WD i have a Node , which is for TAB_SELECTED.It is bind witn the WD1 Node TAB_SELECTED.

Because of this whenever we change the value of TAB_SELECTED in WD1,It automatically reflect in Main WD.

But my problem is that i want to do it for WD2 as well.

I am unable to bind Node of Main WD to two diff Sub WD I.e WD1 and WD2.

How i can do this.

Please suggest.

Thanks

Mahesh

Accepted Solutions (0)

Answers (2)

Answers (2)

mahesh_jagnani
Participant
0 Kudos

solves

gill367
Active Contributor
0 Kudos

Hello Mahesh,

I think you need to create two more nodes in the main WD compoennt .

map the nodes of WD1 and WD2 to two seperate nodes in main WD.

then in the method wddomodify check for the tab_selected value.

if it is tab_1. set the value of attribute in the main WD from node mapped to WD1.

if it is tab_2, set the value form node mapped to WD2.

thanks

sarbjeet singh