Hello,
The Following TestCase shows, that the current nightly build of SmartGWT 3.1p LGPL 2012/11/27 ignores the operationId defined for update requests:
As you can see in the SmartClient-Console the operationId for the fetch is set correctly, but after modifying the Record the operationId is missing for the update request.
The Following TestCase shows, that the current nightly build of SmartGWT 3.1p LGPL 2012/11/27 ignores the operationId defined for update requests:
Code:
public void onModuleLoad() { ListGrid lg = new ListGrid(); lg.setFetchOperation("foooFetch"); lg.setUpdateOperation("foooUpdate"); lg.setCanEdit(true); DataSource ds = new DataSource(); ds.setClientOnly(true); DataSourceField pk = new DataSourceField("pk", FieldType.TEXT); pk.setPrimaryKey(true); ds.setFields(pk,new DataSourceField("foo", FieldType.TEXT)); ds.setTestData(new Record() {{ setAttribute("pk", "1"); setAttribute("foo", "bar"); }}); lg.setDataSource(ds); lg.setAutoSaveEdits(true); lg.setAutoFetchData(true); lg.draw(); }
Comment