When I make some edits in one of the forms and call ValuesManager.saveData() I notice that nothing useful seems to happen. Specifically, the updateData() methods in my XJSONDataSource are never called.
BTW, I feel that there is a real need for a few simple samples that shows how to use smartgwt to do CRUD operations with a real server side datasource. If any one who has experience with that is willing to help then I would be glad to put such samples together. Please contact me off-list at farrukh-at-wellfleetsoftware.com if you can help. Thanks.
Will do once I have some basic understanding of how to do it. Can you please help me with my question on understanding how ValuesManager.saveData() is supposed to work and what possible reasons would prevent my XJSONDataSource.updateData() to not be called?
How are you determining that it is not called? You should be checking for JS errors, and you should check Firebug to see if a network request was issued that went nowhere.
My bad. There were required fields in SectionStackSections that were not visible and thus I missed the error. The Dev Console identified the problem clearly. Sorry for the trouble.
How to get all errors when validating a ValuesManager
Since I have several forms not all of which are visible, is there a way in ValuesManager API to get all errors in a single call so I can display a dialog with the errors? I do not see it.