Forums Register Login

Refreshing data model bound to data table

+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
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.
Whatever you say buddy! And I believe this tiny ad too:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2983 times.
Similar Threads
ADF Faces useWindow attribute
Asking ADF Faces table with popup
Change rows property of ADF Table
JSF DATA TABLE NAVIGATION PROBLEM
Asking ADF Faces table with popup
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:58:36.