Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in : datatable

 
chinna talluru
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i am populating datatable data avilable in list(internally cotains managed beans). whenever user clicks
the form based on the form inputs i will display the table.if user clicks
the reset button then table is hidden,(list is set to empty.). but this functionality working fine when search has no records.

whenever search has >= one record table is populated, but without clicking reset button if i change search criteria, if i click search button,search results are not updating. means baking bean method is not calling.just loading
the same page.

if i perform search with clicking reset button every time it is working
fine. in reset functionality i am changing styles to hide and setting the list values to empty.


scope : baking bean scope : session
managed bean (contain list) : session.
 
A. Dusi
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry if I did not understand your question, but why can't you call the reset functionality before you fetch results for the next search?
Also do you have anything like this in your code? If so, this is preventing the searchList to refresh.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic