on 08-11-2011 1:28 PM
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............
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.