cancel
Showing results for 
Search instead for 
Did you mean: 

how to do Context Mapping?

Former Member
0 Kudos

Hi,

I have one attribute TNO in view context. I want to read this value from one of the method in Compononent context.

<b>How should i map this attribute from View --->Component?</b>

Shoud i create corresponding attribute in component context and then should i map? If yes, how to map? i dont know the steps.

OR

Should i copy the attribute from view to component?

OR

Is there any other way?

Plz help me regarding this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

First u create the attribute in component controller and then go the view where u have create the screen in that controller tab map the attribute from component controller to view controller.

Component controller is the centrall controller for the webdynpro component created - u can map component controller to view not otherway around..

regards

Sathish

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mog.

When you need an attribute in more than one view you always should

create this attribute in the component controller context. Then you can map this

attribute in your view's context.

Go to the view context. There you have the view context and the component controller context. Just drag and drop the nodes you want to map from the component controler context to the view controller context (right to left).

Cheers,

Sascha