This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Refresh datatable upon return/navigation  RSS feed

 
Mister Wang
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

I have a DataTable (file search) which has a list of files that are being processed. The DataTable has a hyperlink for each file, which navigates the user to the File Management screen. Here the user can modify attributes of the file. After saving these changes to the database, they are returned to the File Seach screen. At this point, I would like the datatable to refresh.

Any ideas?

Thanks,

Andy
 
Prasad Kumbhare
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest to use custom implementation of phase listener in this case. PhaseListener will execute after every phase or phase you mentioned. So after coming back from file management screen you can execute phase listener and get latest file attribute from database.
But with my experience of custom implementation of phase listener is, it takes some complex logic to determine when it should process or not.

Hoep this helps.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!