Details
-
Type: Bug
-
Status: Closed
-
Priority: Blocker
-
Resolution: Invalid
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
I have been using the example in the ee-composite showcase as a template for writing my own rich data grid web application. It seems that data is provided to the grid through the constructor of RichDataGridBean. However, when i commit data to the database outside the web application the data doesnt appear in the grid. Is there a refresh operation in the RichDataGridBean, or a way to insert a new data set? I can, of course, reconstruct the whole bean, but i guess thats not the right way to deal with data updates in the grid. Please help me find a workaround for this problem.
Hi Aksel,
I would recommend using AJAX push. When the database is updated, you would push updates out to the page using the PushRenderer. You can find implementation details here:
http://wiki.icefaces.org/display/ICE/Ajax+Push+-+APIs
BRegards,
Tyler Johnson