cancel
Showing results for 
Search instead for 
Did you mean: 

ContextMapping Problems

Former Member
0 Kudos

It is possible to map different attributeNames betwenn View v and ComponentController c?

For example:

View v

- Node_A

- attribute_x

ComponentControllert c

- Node_B

-attribute_y

I want to map attribute_x to attribute_y! The Problem is that only atrributes with same name get mapped. Any suggestions?

Thanks in advance!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

- answered!

nikhil_bose
Active Contributor
0 Kudos

you can map structures with different names provided:

1. They should be in same hierarchy level

2. data type should be same

regards,

nikhil

Former Member
0 Kudos

How can I map structures with different names? I don't want to rename the attributes!!!

Former Member
0 Kudos

I don't understand your question. Mapping context nodes/attributes means to create references to the origin which lives in another controller. The references can have different names that the origin but generally it is better if they have the same names. I have the impression you want somehow "map" existing context nodes/attributes to each other?

Armin

Former Member
0 Kudos

Hi,

You can map structure or elements of different names ;But always have to care that the elements must belong to same hierarchy level and the type of both elements must be same.

Regards

- Vinod

*

Edited by: Vinod V on Apr 5, 2008 6:28 PM

Former Member
0 Kudos

Double click on you Component Controller to open Diagram View. Create a data link from View V to controller c. Drag Node_B from right side pane to left side pane. Edit context mapping dialog box appears. Select Node_B, rename it to Node_A (Renaming can be done in right hand side of dialog box). Select attribute_y, rename it to attribute_x.