cancel
Showing results for 
Search instead for 
Did you mean: 

cross-component navigation ------search to result but in separate component

Former Member
0 Kudos

Hi,

my name is Rohan,

I have a question ,please help.

Subject : Cross-Component navigation

Situation is..

1) my 1st component is " ZNAV1 " it has only one view called " SEARCH".

2) my 2nd component is " ZNAV2" even it has only one view called "RESULT".

3) my 3rd component is "ZNAV3" it actually binds the first two components.

........problem is when we click on "search button" in search view the data is not displaying in result view.

i have created two outbound plugs in component 1st, one in window and one in view,

i have created one inbound plug in component 2nd ,in window but not in view,since the data will be present in window,

i have created component usage in my 3rd component for first two component,

also created a navigation links for the first two components,

every thing is working fine ...that is it navigates from one component to another component but data is no displayed only

header is displayed..........

please help............

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You havenot mentioned about how you have managed the context between these three components.

If i understand you correct then ZNAV3 is the parent component and ZNAV1 and ZNAV2 are child components.

The common data part which is needed in ZNAV1 and ZNAV2, you can create it in ZNAV3 as interface node. Share this context node in ZNAV1 and ZNAV2.

Point is that you need to make sure that you have one instance of data node which is used among the three components at runtime. You can achieve this by using context mapping or using singleton class.