Is there a new way to do addRelatedUpdates() or is it just not exposed yet? I can't find this method on the server version of DSResponse ( http://www.smartclient.com/smartgwte...SResponse.html )
This is what the client doc says:
http://www.smartclient.com/smartgwte...ata.DSResponse
This is what the client doc says:
http://www.smartclient.com/smartgwte...ata.DSResponse
public void updateCaches(DSResponse dsResponse)
<snip>
This API should be used when you have found out about changes made by other users or by automatic processes. For example, using the Smart GWT Messaging system to receive real-time updates via HTTP streaming, you may get updates that should affect a ListGrid which is using a ResultSet to view a portion of a large dataset.
Alternatively, an operation that removes a record from one DataSource may cause a new record to be added to another DataSource (such as Lead -> Account conversion in CRM applications). This could be accomplished by using the callback from the "remove" operation to call updateCaches with a DSResponse representing an "add" operation on the related DataSource.
Cache updates of this kind can also be driven from server-side code - see the related server-side API DSResponse.addRelatedUpdate().
<snip>
<snip>
This API should be used when you have found out about changes made by other users or by automatic processes. For example, using the Smart GWT Messaging system to receive real-time updates via HTTP streaming, you may get updates that should affect a ListGrid which is using a ResultSet to view a portion of a large dataset.
Alternatively, an operation that removes a record from one DataSource may cause a new record to be added to another DataSource (such as Lead -> Account conversion in CRM applications). This could be accomplished by using the callback from the "remove" operation to call updateCaches with a DSResponse representing an "add" operation on the related DataSource.
Cache updates of this kind can also be driven from server-side code - see the related server-side API DSResponse.addRelatedUpdate().
<snip>
Comment