on 05-04-2007 4:35 AM
Hi
I am tryingout componentizationand i have to ask a few concepts
I have 3 comonents in the web dynpro project - Main , C1 and C2.
The main comp uses c1 and c2- both create on demand
The navigation flow is that the main will first call c1 and after c1 is processed it should call c2
Main has 2 fire plugs outc1 and outc2
c1 has an inplug inc1 and c2 has inplug inc2.
My question is - when i call c1 from main . after c1 is processed how will control go back to main .Will i have to call main from c1 explicitlity or will it be automatically done.
Alos after main calls c1 and control comes back to main - where will the contol come back - will it come to the line after i called c1 or to init.In this case , how will Main know that it has done its work with c1 and now it has to call c2 .Do i have to save somethhing in the content of Main?
Hi Shobendra,
When Main calls the C1, after completion of processing at C1 we have to navigate it Main again.
It will not come automatically,( you need to fire it back to Main).
When it comes to Main it will not go to previous position because, in general we have many views in a component, when we use View set concept we make one View as defualt to display first.
So it will go to that perticular view only.
Regards
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shobhendra,
look at my <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component Navigation Tutorial</a>, it addresses a similar issue.
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
shobhendra,
One option is to declare event on C1 interface controller, then subscribe to this event in view of Main and navigate from this event handler. Sure, you have to fire this event somewhere in C1.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
if you need navigate to Main from C1 , you need to create oubound plug in C1 , inboundplug in main, connect it.
You need fire C1 outbound plug to navigate to Main. when you fire C1 outbound plug it will execeute the inbound plug in C1. there itself you can code your self.
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.