cancel
Showing results for 
Search instead for 
Did you mean: 

Window Behaviour

Former Member
0 Kudos

Hi Expert,

I m facing a diffrent behaviour when i go from a model window to View the wdModify() method is called more than once ,how can i resolve this.

Thanks And Regards

Trilochan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Trilochan,

you cannot control the phase model, but you may use a custom context boolean attribute to trigger the desired logic only once.

Something like this

void wdDoModifyView(...)  {
  ...
  if( wdContext.getDoLogic() ) {
    // put your logic here
    ...
    wdContext.setDoLogic(false);
  }
}

and set the attribute to true before triggering the navigation.

Bests

Answers (1)

Answers (1)

former_member201361
Active Contributor
0 Kudos

Hi ,

when u trying to call a model window , the modal window is called and again it comes back to the normal first view where the Domodify method will be called once again .if possible give me some more inputs on ur query.

Thanks and Regards