Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

RichFaces datatable not rerendering

Posted on 2009-07-11
1
Medium Priority
?
1,553 Views
Last Modified: 2013-11-24
I have a RichFaces datatable n my page, I have a delete buttonthat deletes an item from the list, when the user presses the button the Entity is removed from the database and I can see that is happening ok. Even though I have the datatable listed in my reRendered list on the button, the item is not removed from teh list even though it has been removed from teh database. If I tell the list to resort then the item is removed from teh list.  I can see when the delete occurs that the list is being reloaded from the DB and the removed item is not being found so it's not a transaction issue. Since resorting the list by clicking on the column headers does a refresh and does remove the item from the displyed list, it seems that even though the datatable is specified in teh reRender list that the reRendering of the list is not being performed correctly. In fact the datatable does not appear to refresh.

Any ideas?

Thanks!

Chris
0
Comment
Question by:ChrisOz2008
1 Comment
 

Accepted Solution

by:
ChrisOz2008 earned 0 total points
ID: 24911960
Since noone seems to know why this does not work I have recoded my page o work around the issue.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question