Hi,
we used (in a older 5.x SmartGWT version) where the DataSource.setDefaultParams(Map map) enforced the values over the DataSource operations.
Just like Mathias used in this thread: http://forums.smartclient.com/forum/...server-anymore
Now, I understand (and agree) that the setDefaultParams was fixed.
We tried the method DataSource.setImplicitCriteria(Criteria crit), and it works fine, but only for fetch operations.
Is there a way to set in a Datasource that the values used in the setImplicitCriteria method will be enforced over UPDATE and INSERT/ADD operations also?
If not, what do you guys suggest as best practice?
we used (in a older 5.x SmartGWT version) where the DataSource.setDefaultParams(Map map) enforced the values over the DataSource operations.
Just like Mathias used in this thread: http://forums.smartclient.com/forum/...server-anymore
Now, I understand (and agree) that the setDefaultParams was fixed.
We tried the method DataSource.setImplicitCriteria(Criteria crit), and it works fine, but only for fetch operations.
Is there a way to set in a Datasource that the values used in the setImplicitCriteria method will be enforced over UPDATE and INSERT/ADD operations also?
If not, what do you guys suggest as best practice?
Comment