| Author |
Datatable problem
|
venkata swamymora
Ranch Hand
Joined: Aug 06, 2007
Posts: 33
|
|
hi all 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? Any help shold be appreciated Thanks in advance
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14456
|
|
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!
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
venkata swamymora
Ranch Hand
Joined: Aug 06, 2007
Posts: 33
|
|
Hi, 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
|
 |
venkata swamymora
Ranch Hand
Joined: Aug 06, 2007
Posts: 33
|
|
Still this problem is on pending.Nobody is solved this problem.Atleast provide give me some idea how to solve this. Venkat
|
 |
 |
|
|
subject: Datatable problem
|
|
|