aspose file tools*
The moose likes JSF and the fly likes Problem in  : datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem in  : datatable " Watch "Problem in  : datatable " New topic
Author

Problem in : datatable

chinna talluru
Greenhorn

Joined: Jul 23, 2006
Posts: 24
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

Joined: Sep 27, 2004
Posts: 114
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in : datatable