on 06-06-2008 9:00 PM
Hi experts,
I have the following scenario:
Component A opens, in a modal window, the component B.
When I do something in B, it's closed and I return to A.
There, I need read data from B (which is closed at the moment), to do something in A.
Anybody knows how can I do it?
I tried with external context mapping, but It doesn't work...
Could it be done with interface methods?
Thanks in advance!
Lucas
Hi,
Yes, it can be done using Interface Node. While Creating Node in the Component B give it is as Interface Node . After creating Component Usage of Component B in Component A, do Context Binding from the Interface Controller of Component A to the Component Controller of Component A .
Regards,
Padmam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Padmam,
Thank you for your reply too, but I'm having problems with your solution.
I have created an interface Node in Component A, and I have created the mapping in the component usages of the component B.
When I run component A, it gives me an error. I supose that it is rise by this Interface Node.
This error is solved when I check out the property "Input Element (Ext)" of Interface Node, but without this property, I can't do the External Mapping...
Could you correct me if I'm wrong?
Thanks in advance!
Lucas
Hi Lucas
Do you find any difference between my reply and padmam's?
Regards
Tamil
Edited by: Tamilselvan K on Jun 10, 2008 3:13 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it can be done with interface method.but where ever u create an interface method
click the checkbox interface then only it is visible to other component.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Yes you are right,create an interface node in component B and do the mapping using this node with component A ,so the values what you bind to this node will be visible in both the components
Hope this helps u
Thanks and regards
Tamilselvan.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.