cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro Navigation back to first screen.. second screen not refreshed

Former Member
0 Kudos

Dear All,

 

The Process is having 2 Views main and next  when I am navigating from main to next , view next is displayed some values which are editable.

View Next is having a button back to main which is working perfectly.

The issue that I am facing is that when I am selecting different value from Main view the View Next it is displaying old values.

The values in next are filled at initialization which is not called when we come again.

Please suggest.

Thanks in Advance

Ashish

Accepted Solutions (1)

Accepted Solutions (1)

RicardoRomero_1
Active Contributor
0 Kudos

Hi,

Change in the view "Next" the lifetime to "When visible" within the Properties Tab to trigger the Inicialization method every time you navigate to this view.


Or change the place where you are intializating the data.

Regards.

Answers (2)

Answers (2)

Former Member
0 Kudos

To understand flow, place a break point in Next View initialization method and WDDOMODIFY Method.

The problem is your node in next view is not getting updated.

Former Member
0 Kudos

The code for filling values in Next view is written in INIT method.

And when we come back again to Next it isnt called.

Should I write it in Modify?

Former Member
0 Kudos

Yes, please try.

former_member198833
Active Participant
0 Kudos

Hi Ashish,

Are these contents mapped through the Component Controller context?

Regards,

Felipe

Former Member
0 Kudos

Yes it is

former_member198833
Active Participant
0 Kudos

Ashish Chauhan wrote:

The values in next are filled at initialization which is not called when we come again.

Try filling this value at the inbound plug method of the second view.

This should reload all the values when navigation is received by the second view.

Regards,

Felipe