on 05-03-2006 2:20 PM
Hi,
I have a create a popup window. On selecting a row from the table within the popup i need to transfer the selected value to the parent window input field and close the popup window. Can some one help me do this.
Thanks in adv
Hi Unni,
See this document. This is exactly what you require. This is called OVS feature in WebDynpro.
<b><a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/web%20dynpro%20valuehelp%20using%20object%20value%20selector.pdf">Advanced Input Help - The Object Value Selector (OVS)</a></b>
I hope this helps you. Kindly revert back if there is any problem.
Regards
Pravesh
PS: Kindly consider rewarding points if solved or helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create value attribute <b>name</b> in the context of popup view, parent view and controller. Do the corresponding Context Mapping.
Create a new action in the Action tab of the popup view and bind it to the table property <b>onLeadSelect</b>.
In the method onLeadSelect of the table give the following code.
String name = wdContext.current<node>Element().getNAME();
wdContext.currentContextElement().set(name);
// Give the code for closing the window.
Bind the attribute <b>name</b> to the value property of the inputfield.
Hope this helps.
regards,
Rathna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.