on 05-02-2014 11:00 PM
Hello everyone,
I need your help. Problem: I changed data in original context node of parent component during runtime but corresponding mapped context node in child component did not get updated.
The following image explains my application:
The action event handler method for the button is implemented in the view controller of the parent component. I don't use any supply functions.
Problem: The second input field (bound to mapped context attribute in child component view) should always have the same value as the first input field (bound to original context attribute in parent component view). Unfortunately, the second input field remains always empty! First input field works fine.
Do you have any suggestions?
Hi Dominik,
It seems the way you have mapped your parent node to your child is incorrect.
Apart from mapping your need to define a method as a interface method to get/set data.
Please refer to following link for step-by-step info on how to do external node mapping. You may have missed a step.
Instantiating the Used Component.in ABAP Web Dynpro
Regards,
Karan Ranawat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karan,
actually, I used "simple context mapping" (which is also part of cross-component context mapping) and I still haven't figured out yet how to make my application work with "simple context mapping".
However, you mentioned the "external context mapping". I gave it a try and my application works perfectly now.
Thank you for pointing me in the right direction.
Regards,
Dominik
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.