• Post Reply Bookmark Topic Watch Topic
  • New Topic

A problem in showing data from backing bean on th epage when data changes.

 
Zafar Hakim
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greeting everyone!

Problem:
I have a page with data table --- I open a new modal dialog window (window.showModalDialog) on click of menu item on the row --> It opens the page to view details of the selected item --- When I close it and select different row of the table(in the first page) and open to see the details it shows the previous data.

The data on the form fields are populated from a backing bean which is session scoped. I am sure the backing bean is updated with new data(checked it while debug ). Only that it is not displayed/refreshed in the page rendered again.

Thanks for your time and appreciate any help on this.

Regards,
Zafar Hakim
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those colors distracts me from reading. In the future please leave them away.

Regarding to your problem: if the data is supposed to be request scoped, you need to store it in a request scoped bean. Simple as that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!