This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i'm using jsf and datatable for displaying,searching result of a query the problem is when i try to assign the value of the datatable to a Result Object, everything goes right but as i try to assign a ArrayListDataModel or ListDataModel. it only displays the last record of my table and it repeat it according to the table records count! i'm really confused since i've printed the value of the model for different indexes and they are different! but when it comes to display the data on the datatable, it shows the last record only repeatedly
is it something wrong with dataTable or something?
Datatables work fine, but you may have misconfigured something. Can you post the JSF source for your datatable control and the Java code that populates it?
Remember to use the "code" UBB button to wrap your stuff and disable smilies, so the Saloon BBS software doesn't mangle things!
An IDE is no substitute for an Intelligent Developer.
Joined: Aug 06, 2007
I have one more problem with the datatable similar to this iam using datatable for searching and listing.Iam setting a new search list to a datatable.In search method iam adding a list to a datatable and for listing iam using another list.so the datatable not getting reset.After search iam trying to add a new record into a database that record is successfully adding to a database but that record is not getting update into datatable.its showing previous list.this problem comes only after using search because iam setting a new list into datatable.so how can i overcome this problem.without search its working fine.since two days iam working on this problem.iam gooogled but no use .So please suggest me
Joined: Aug 06, 2007
Still this problem is on pending.Nobody is solved this problem.Atleast provide give me some idea how to solve this.