cancel
Showing results for 
Search instead for 
Did you mean: 

Interface Method

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

If u r going to get the value of Component B in Component A then u have to declare the Node in Component B as Interface Node. U should not create it in the Component A.

Regards,

Padmam.

Former Member
0 Kudos

Padman,

Thank you for your useful answer.

Kind Regards,

Lucas

fabio_bellocchio
Participant
0 Kudos

Hi Lucas,

I have the same problem, regarding the "Input Element (Ext)".

Did you manage to solve it?

Thank you!

Former Member
0 Kudos

hi fabio,

you cant execute application having node property input. because when it run it looks for external mapping. if you want to execute both the application then use suspend and resume plugs

Yogesh

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Sridevi,

Thank you for your reply.

Could explain me how can I build an interface method?

Should I build this in Component A or B?

Kind Regards,

Lucas

Former Member
0 Kudos

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