FormSplittingSample

Hi,
I tried the FormSplittingSample with a real data source. DynamicForm form1 and form2, both using the same Datasource, with a ValueManager.

Unless form1.fetchData() and form2.fetchData() are both invoked (2 server calls) the data is not filled in the other form.

The java doc also says that unless fetchData is invoked a form will not be filled.

This is a nice feature(Splitting, value manager etc), but comes with a cost of 2 server call’s instead of 1.

Is there any other way to solve this?

Thanks for your suggestions.

Ganesh

Call DataSource.fetchData() and use the callback to pass the response data to valuesManager.editRecord().