on 04-03-2008 3:26 PM
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!
- answered!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can map structures with different names provided:
1. They should be in same hierarchy level
2. data type should be same
regards,
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.