Skip to Content
avatar image
Former Member

wdDoModifyView

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, I’ve noticed that the sequence of execution is:

1. viewAction

2. wdDoModifyView

Sometimes the method wdDoModifyView is executed and sometimes it’s not. Does anybody know the reason?

Thanks in advance.

Celso.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    May 29, 2006 at 05:24 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 30, 2006 at 04:33 AM

    Hi,

    For any action perfomed inside the view the DoModify view get executed after the execution of that action.

    Regards,

    Vijay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 30, 2006 at 07:59 AM

    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

    http://www.NetWeaverTeam.com

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi, I have a strange question , I have a View with a ViewUIContainer , but sometimes the wddomodify for the ViewUIContainer executed first and sometime the main vew executed first .

      Can you help me ?