Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Possible bug in RestDataSource in released Smart GWT 2.0 with GWT 2.0

    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
    Last edited by kenandr; 6 Jan 2010, 04:37.
Working...
X