on 03-16-2009 5:32 AM
Hi Experts,
I'm creating WD application. I have defined two views(V1 and V2) and two windows(W1 and W2).
Window 2 is a popup window. When users will select particular row in View-V1 and click on button,I'm displaying Window 2 as a popup. Now based on value selected in Window 2 I need to modify the
Window1 and close the popup window.
I'm fcing problem regarding how to modify the data back in window 1 based on window 2 selection.
Please let me know how can I achive this.
Thanks
Vikram
Hi Vikram,
Regarding your problem, you want to modify window1 based on value selected in Window 2 and close the popup window.
There is a method in the view called WDDOAFTERREACTION.
When you are selecting some values in the pop up window then stores them in the context nodes and call the close popup winodw method.
After this write your logic in the WDDOAFTERREACTION method for modifying the values of window1.
Hopes this will helps you.
Regard
Manoj Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue is resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikram,
Try this method as well:
- Map the node (which contains the data for the view 1) to the pop up view.
- According to the data selected in pop up view, just change the view of the attributes of view1. This will logic you can write in the WDDOAFTERREACTION method
- when you'll close the pop up window, the changes will be automatically displayed on view1.
I hope it helps.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj/Arjun,
I have defined my own OK button on popup window(Window 2). When I click on this OK button in the method "onactionok" I have written code to read the selected value from popup window and to close the same window. Could you please tell me in this method how do I read and modify the row selected in the view 1 or window 1.
Thanks,
Vikram
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.