1. SmartGWT 3.1 LGPL
2. Browser: Firefox
Hi everyone,
I use RestDataSource for DSRequest queuing and noticed that when there is only one request in a queue, the root <transaction> tag is missing in the XML sent to the server.
Is there a way to force RestDataSource to enclose even one DSRequest in the <transaction> tag?
Example 1 (two DSRequests in a queue):
Example 2 (one DSRequest in a queue):
2. Browser: Firefox
Hi everyone,
I use RestDataSource for DSRequest queuing and noticed that when there is only one request in a queue, the root <transaction> tag is missing in the XML sent to the server.
Is there a way to force RestDataSource to enclose even one DSRequest in the <transaction> tag?
Example 1 (two DSRequests in a queue):
Code:
<transaction transactionNum="33">
<operations>
<request>
<data>...</data>
<dataSource>isc_CircuitBreakerDataSource_7</dataSource>
<operationType>add</operationType>
<oldValues></oldValues>
</request>
<request>
<data>...</data>
<dataSource>isc_CircuitBreakerDataSource_7</dataSource>
<operationType>add</operationType>
<oldValues></oldValues>
</request>
<request>
<data>...</data>
<dataSource>isc_CircuitBreakerDataSource_7</dataSource>
<operationType>add</operationType>
<oldValues></oldValues>
</request>
</operations>
</transaction>Code:
<request>
<data>...</data>
<dataSource>isc_CircuitBreakerDataSource_0</dataSource>
<operationType>add</operationType>
<oldValues></oldValues>
</request>