Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

RichFaces datatable not rerendering

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where to store the queries for modification of table 4 69
web application structure 18 95
ejb entity bean example issue 2 16
web project error add remove 1 27
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…
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.

808 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