cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh page on inserting new record in webdynpro for java

Former Member
0 Kudos

Hi

I have used 2 views ie. overview and details view.

On overview I have a table bound to the valuenode which is filled with data from backend on Doinit method..

In details view I allow the user to create new record .

Once user has inserted a record in details view with the help of fireplug I redirect user to overview . I want the overview page to be refreshed and display newly inserted record.

If i refresh manually the new record is displayed .I want it to happen without physically refreshing the page.

I am also updating the value node on details view with new record inserted.

Please help

Accepted Solutions (0)

Answers (4)

Answers (4)

snehal_kendre
Active Contributor
0 Kudos

Hi Anzar,

If you want to show fresh data on your screen everytime screen is displayed then in your inbound plug bind the node and fetch data again.

binding node will clear all the previous data . and fetching will populate fresh data from database.

Former Member
0 Kudos

Hi,

Write the below code in your inbound plug action method

this.wdDoInit();

Or If you want to refresh your view the below code will help you

view.resetView()

Regards

Suresh

Former Member
0 Kudos

Hi,

In inbound plug of overview view, just call the method which

takes data from backend and fills table.

Regards

LakshmiNarayana

Former Member
0 Kudos

Hi Anzar,

While coming back to first view first invalidate the node and then get the data from teh back end once again and set the node with the values.

Regards,

Deepak