Solved

RichFaces datatable not rerendering

Posted on 2009-07-11
1
1,547 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
scoresSpecial  challenge 13 52
What is JNDI datasource in spring 1 62
diffSum example 4 37
Eclipse with gitlab 1 43
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.

778 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