on 10-18-2005 7:00 AM
Hi Experts,
I have a applcation that has a viewset containing 5 views.
From one of these view I click on a button and it opens a Window as popup.
After closing the popup, I want to disable the button so that popup cannot be opened again and activate SAVE button.
Now here is the problem. I have all the coding in my wdDoModifyView, but its not triggered.
I know that we cannot call wdDoModify view manually.
So is there any workaround by which the complete window/viewset is refreshed on closing the popup, thus triggering the wdDoModifyView.
Thanks a lot for the suggestions in advance.
Regards,
Shubham
Hi Shubham,
Can't you make use of events to achieve the same? Create an event in your component controller, subscribe to that in the parent view, write all these code in that event handler and then trigger this event when you close the pop-up window. I hope this would serve your purpose.
Quoting from one of Valery's answer - "wdDoModifyView is invoked only for application start time & action round-trips but not for internal WD round-trips (as an example: selection in table that has no onLeadSelection action handler causes request/response but wdDoModifyView is not invoked)".
Though this might help you too.
Best Regards,
Nibu.
Message was edited by: Nibu Wilson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.