on 02-03-2006 5:58 PM
Hi,
I have a web dynpro project with two different components and each component made as different application.
If i want pass array of data from one component to another, how can i do it?
Thanks.
Hi Damodhar,
You don't need to create an event to pass data to a used component. You can simply map the interface controller's context of the used component. Go to the properties tab of parent component and add the used components interface controller as a "Required Controller". This will then allow you to map data between them.
Regards,
Karthick K Eswaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Damodhar,
If you have WebDynpro DC1 and DC2.
in DC1 your component name is : Home
in DC2 your component name is : Login
you want to pass array of parameters from DC1 to DC2.
Right click "Home" >Add to Public part>Give some Name-->click ok
Now go to public parts-> of DC1 you will see Home component over there.
Now in DC2 right click used webdynpro components->add component-->add that Home component as used webdynpro component.
create some context in DC1 and in DC2 now you can access any nodes from DC1 to DC2.
If you need more info let me know.
Regards,
Karthick K Eswaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use Server-side Eventing to pass parameter between components. Check with this link.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tu... on server-side eventing - 14.htm
Regards
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to define the first component as the 'Used Web Dynpro Components' in the second component. Then the second one would be able to get access to the first one's interface controller.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.