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 am trying to refresh the model once a delete action is carried out on a data table (adf faces af:table). Once the delete action is carried out, I am rebuidling the List that serves as the table values. The List is being rebuilt but the table is not reflecting the changes in the list. I can't figure out why the table would be using the stale data. My backing bean that contains the List is request scoped (I have tried a session scope and got the same result).
Here is what I am doing
Just a note, I am NOT using the ADF Faces framework, just the stand alone component set (basically just the stuff under oracle.adf.view.faces) [ September 28, 2006: Message edited by: Brian Smith ]
Joined: May 20, 2005
Ok, I got it to work, I had to explicitly set the value of the table during the refreshAction.
I would have thought that during the page reload, the new model would be picked up by the table. I guess not.