on 08-29-2007 1:25 PM
Hi Guys,
I have one doubt like how to pass value from one component to other. In my application i have two components. I want the value given in the inputfield of the component should be displayed in the scecond component. Can anybody clear information about that?
Thanks In Advance
Regards
Ravi
Hi ravikumar,
take the context attribte in interface controller (what attribute u want to pass). in 2nd component ,use 1st component as used component. bind 2nd dc's component controller to 1st dc's interface controller.
U can use this doc for better understanding
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a</a>
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravikumar,
Every component has its interface controller.
Assume cont1 and cont2
cont1 has its interface controlloer interface1 and cont2 has its interface controller interface2.
Define a value attribute va_temp in interface1> map this to cont1> map this to view1 of cont1 and bind it to the UI element.
In cont2 > Used webdynpro Components> add the interface1
Now map the same va_temp to cont2--> map this to view2 of comp2
Now you can access va_temp of comp1 in comp2.
Warm Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.