Hi,
I'm Migrating SmartGWT version from 2.5 to 3.1 and the following error occurred when the setAttribute method of DataClass is invoked passing a list of serializable objects:
Can not convert 0 element of the array to the JavaScriptObject. Instances of class `<dto>' can not be converted automatically. Please see the documentation of RPCRequest.data SmartClient is a table of Java types que can be converted automatically.
This worked in version 2.5. Is there any reason for it have changed or is an error?
I know it is possible use the method JSOHelper.setObjectAttribute but is there the possibility of making the treatment of this case into the setAttribute method?
Thanks for helping.
I'm Migrating SmartGWT version from 2.5 to 3.1 and the following error occurred when the setAttribute method of DataClass is invoked passing a list of serializable objects:
Can not convert 0 element of the array to the JavaScriptObject. Instances of class `<dto>' can not be converted automatically. Please see the documentation of RPCRequest.data SmartClient is a table of Java types que can be converted automatically.
This worked in version 2.5. Is there any reason for it have changed or is an error?
I know it is possible use the method JSOHelper.setObjectAttribute but is there the possibility of making the treatment of this case into the setAttribute method?
Thanks for helping.
Comment