Hi,
I have a RestDataSource with OperationBinding of type ADD with dataprotocol DSProtocol.POSTMESSAGE. The datasource has JSON dataformat set. Adding a record with .addData(Record) does not work. This worked in the previous versions of SmartGWT/GWT.
There are no messages in the Developer Console (log-levels set to debug) and no data is sent to the REST service (looking at traffic with Fiddler).
Changing the dataprotocol to DSProtocol.POSTPARAMS works but then again the service only allow JSON data.
Any suggestions on workarounds ?
Update: Solved in http://forums.smartclient.com/showthread.php?t=9098
I have a RestDataSource with OperationBinding of type ADD with dataprotocol DSProtocol.POSTMESSAGE. The datasource has JSON dataformat set. Adding a record with .addData(Record) does not work. This worked in the previous versions of SmartGWT/GWT.
There are no messages in the Developer Console (log-levels set to debug) and no data is sent to the REST service (looking at traffic with Fiddler).
Changing the dataprotocol to DSProtocol.POSTPARAMS works but then again the service only allow JSON data.
Any suggestions on workarounds ?
Update: Solved in http://forums.smartclient.com/showthread.php?t=9098