cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing context between components

Former Member
0 Kudos

Hi,

Is it possible to share a context between <b>different WD components</b>(like a component context wihich is shared by different views and controllers of the same component).

If yes,how?If no,what are the alternatives to pass data from one component to other.

regds,

Bhupesh

Accepted Solutions (1)

Accepted Solutions (1)

pravesh_verma
Active Contributor
0 Kudos

Hi Bupesh,

Yes you can do this by using the <b>Component Interface</b>. Which is common for a particular Application. There will be a shared context of "<b>Interface Controller</b>", which can be used to do what you are looking for.

You can also see this link, for more references :

http://help.sap.com/saphelp_nw2004s/helpdata/en/eb/e1cb5eea012b4481f8077c6023a70e/frameset.htm

There it has explaination for interface controller. Kindly look through that as well.

I hope this helps you!!

Regards

Pravesh

PS: Please consider rewarding points if helpful and solved.

Answers (3)

Answers (3)

Former Member
0 Kudos

Bhupesh,

Yes.It is possible.Refer <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d7/e551cf896c3a49bb87bb4ce38c99c8/frameset.htm">External Context Mapping</a> in <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d7/e551cf896c3a49bb87bb4ce38c99c8/frameset.htm">Eventing Example Application</a>.

Bala

Former Member
0 Kudos

Thanx all for ur helpful answers.

thanx,

Bhupesh.

vijayakhanna_raman
Active Contributor
0 Kudos

Hi,

Yes u can use the context of the Comp1 to comp2.the context of interface controller can be mapped to any view Context of comp2.

Add the comp1 as used component of the comp2.

Then the interface controller of comp1 will be visible here in comp2.

Go to properties and Add the controller and map it.

Regards,

Vijayakhanna Raman

Former Member
0 Kudos

Hi bhupesh,

You can also have a look at:

http://help.sap.com/saphelp_nw2004s/helpdata/en/44/a2384162316532e10000000a1550b0/frameset.htm

Regards

Asif

Message was edited by: Md Asif Ali Khan