cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in refreshing view

Former Member
0 Kudos

Hi all

I have 2 views. base on user selection in 1st view, i m swithing to next view and calling one function in second view based on the user selection in 1st view.

But when i go back to the 1st view and again make selection then switch to the second view...i got older view.

I m not calling my fuction in init().

i have put my function in "onplugfrom1stview()"

plz help me out from this issue

Regards

swati

Accepted Solutions (0)

Answers (1)

Answers (1)

sridhar_k2
Active Contributor
0 Kudos

Hi Swati,

Every time it will call wdDoModifyView Method. So, You can refresh all the values in the method or in the Input Plug Method. It wont call init() on every call.

Regards,

Sridhar

Former Member
0 Kudos

check if it works for you:-

1. if you are using context node, invalidate the nodes before assigning values in yur second views everytime.

2.can put the view scope as when_visivle