Hi,
I'm using smartgwt-power-3.1-p20130712.
I have 2 SQL datasources like below:
and I fetch by mseContacts.id one row in a form, but immediately is triggered a fetch to mseCustomer with the related id.
My question is why is the later fetch done to mseCustomer datasource?
And in which situations such fetches should be done automatically?
See also the attached picture from the dev console.
One other strange thing is that request/response of the later fetch to mseCustomer is not shown in the dev console.
I'm using smartgwt-power-3.1-p20130712.
I have 2 SQL datasources like below:
Code:
<DataSource ID="mseContacts" serverType="sql" dbName="xxx" tableName="yyy" autoJoinTransactions="true"> <fields> <field name="id" type="text" hidden="true" escapeHTML="true" nativeName="ID" primaryKey="true" /> ... <field name="customerId" type="text" hidden="true" escapeHTML="true" nativeName="CUSTOMER_ID" foreignKey="mseCustomer.id"/> </fields> </DataSource> <DataSource ID="mseCustomer" serverType="sql" dbName="xxx" tableName="zzz" autoJoinTransactions="true" > <fields> <field name="id" type="text" nativeName="ID" primaryKey="true" hidden="true" operator="equals" escapeHTML="true"/> ... </fields> </DataSource>
My question is why is the later fetch done to mseCustomer datasource?
And in which situations such fetches should be done automatically?
See also the attached picture from the dev console.
One other strange thing is that request/response of the later fetch to mseCustomer is not shown in the dev console.
Comment