on 05-29-2006 5:49 PM
Hi,
I have a question about the method wdDoModifyView.
In my application, I have a view with the following action, for example:
- View
Action: viewAction
Debuging the application, Ive noticed that the sequence of execution is:
1. viewAction
2. wdDoModifyView
Sometimes the method wdDoModifyView is executed and sometimes its not. Does anybody know the reason?
Thanks in advance.
Celso.
Celso,
First, method wdDoModifyView is executed only if view is visible. So, if as result of action handling you are navigating away from view (via plugs), then wdDoModifyView will not be invoked.
Second, wdDoModifyView is invoked only when custom action is executed. For counter-example, you can left Table without onLeadSelect action handler. Nevertheless, you may notice client-server roundtrip when you are selection elements. However, in this case (internal action, not custom) wdDoModifyView will not be invoked.
Valery Silaev
EPAM Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For any action perfomed inside the view the DoModify view get executed after the execution of that action.
Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
wdDoModifyView is executed every time just before displaying the view. In your example when you have any action , that is executed first and before displaying the view wdDoModifyView is executed. If in the action , you navigate to another view then wdDoModifyView of the new view is executed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.