| Author |
Refreshing data model bound to data table
|
Brian Smith
Ranch Hand
Joined: May 20, 2005
Posts: 63
|
|
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 accountBacking 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 ]
|
 |
Brian Smith
Ranch Hand
Joined: May 20, 2005
Posts: 63
|
|
Ok, I got it to work, I had to explicitly set the value of the table during the refreshAction. table.setValue(model); I would have thought that during the page reload, the new model would be picked up by the table. I guess not.
|
 |
 |
|
|
subject: Refreshing data model bound to data table
|
|
|