• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in : datatable

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic