I apologize if this has already been asked, I will continue to do more research on my own here to find a previous answer if it exists.
The problem is that I have a grid and it is bound to a client-side read-only JSON Datasource. This is fine with no prolems. This grid is a simple-selection type with a checkbox. So, the user can check multiple rows off in this grid.
I want to call to add these records to the database to another table. There is a working GWT RPC Datasource tied to that other table. So, the GWT-RPC Datasource has the add, fetch, delete, update functions, but the method is defined as:
protected void executeAdd (final String requestId, final DSRequest request, final DSResponse response) { ... }
So, if I basically have:
ListGridRecord[] mySelectedRecords = JSONGrid.getSelection();
How can I pass these records to that datasource to add them?
BTW ... in a previous application I had the grid bound to the GWT-RPC Datasource and not the JSON Datasource. In that case, additions and deletions to the grid were automatically done to the database.
In this case, we want to select a group of records to add, or we can just cancel and not do anything with the selected records.
Thanks for any help!
Tom
The problem is that I have a grid and it is bound to a client-side read-only JSON Datasource. This is fine with no prolems. This grid is a simple-selection type with a checkbox. So, the user can check multiple rows off in this grid.
I want to call to add these records to the database to another table. There is a working GWT RPC Datasource tied to that other table. So, the GWT-RPC Datasource has the add, fetch, delete, update functions, but the method is defined as:
protected void executeAdd (final String requestId, final DSRequest request, final DSResponse response) { ... }
So, if I basically have:
ListGridRecord[] mySelectedRecords = JSONGrid.getSelection();
How can I pass these records to that datasource to add them?
BTW ... in a previous application I had the grid bound to the GWT-RPC Datasource and not the JSON Datasource. In that case, additions and deletions to the grid were automatically done to the database.
In this case, we want to select a group of records to add, or we can just cancel and not do anything with the selected records.
Thanks for any help!
Tom