Hi Isomorphic,
I'm having a ListGrid to configure system settings.
These settings are loaded at startup and cached for a few minutes. If there are used and the cache is stale, it is refreshed. Normally there are no changes at all.
Now in the Admin GUI, the delay is annoying, because if you enable something you need to wait until the system allows you to configure the setting as directly after the change, the cache still shows the setting as disabled.
If I could force a refresh of my client side cache in those cases, this would help.
I could add e.g. a DataChangedHandler, but how can I differentiate here between different actions (not all will need a cache refresh). Is there some way to find out operationType and operationId from the incoming DataChangedEvent?
It does not offer such in SmartGWT, but SmartClient ListGrid.dataChanged seems to support a operationType parameter. So somehow this will be possible in SmartGWT as well, I just can't figure out, how.
Best regards
Blama
I'm having a ListGrid to configure system settings.
These settings are loaded at startup and cached for a few minutes. If there are used and the cache is stale, it is refreshed. Normally there are no changes at all.
Now in the Admin GUI, the delay is annoying, because if you enable something you need to wait until the system allows you to configure the setting as directly after the change, the cache still shows the setting as disabled.
If I could force a refresh of my client side cache in those cases, this would help.
I could add e.g. a DataChangedHandler, but how can I differentiate here between different actions (not all will need a cache refresh). Is there some way to find out operationType and operationId from the incoming DataChangedEvent?
It does not offer such in SmartGWT, but SmartClient ListGrid.dataChanged seems to support a operationType parameter. So somehow this will be possible in SmartGWT as well, I just can't figure out, how.
Best regards
Blama
Comment