Hello,
We are testing the new release on our application and encountered some issues. For example, certain functions have a changed return type or are no longer available.
Case 1:
com.smartgwt.client.widgets.tile.events.SelectionChangedEvent.getRecord()
Is now returning an Object instead of a Record ....
Can we still assume that it'll return a Record or should we expect something else since it is using '$wnd.SmartGWT.convertToJavaType' internally now?
We are also wondering about the performance aspect of this, using direct JS objects is always faster than a converted Java type. I can imagine that the typed Java return type has advantages but could there be a similar funtion that still returns the Record instance too?
(this must be a recent change, the previous build we tried from a week ago or so was not giving this).
Case 2:
com.smartgwt.client.widgets.Canvas::convertToCanvasArray(Lcom/google/gwt/core/client/JavaScriptObject;)
This method is no longer available, maybe we should not have been using this one in the first place but I imagine you moved it to somewhere else?
This is tested on SNAPSHOT_v9.0d_2013-02-27/Pro Deployment 2013-02-27.
Thanks for your thoughts!
We are testing the new release on our application and encountered some issues. For example, certain functions have a changed return type or are no longer available.
Case 1:
com.smartgwt.client.widgets.tile.events.SelectionChangedEvent.getRecord()
Is now returning an Object instead of a Record ....
Can we still assume that it'll return a Record or should we expect something else since it is using '$wnd.SmartGWT.convertToJavaType' internally now?
We are also wondering about the performance aspect of this, using direct JS objects is always faster than a converted Java type. I can imagine that the typed Java return type has advantages but could there be a similar funtion that still returns the Record instance too?
(this must be a recent change, the previous build we tried from a week ago or so was not giving this).
Case 2:
com.smartgwt.client.widgets.Canvas::convertToCanvasArray(Lcom/google/gwt/core/client/JavaScriptObject;)
This method is no longer available, maybe we should not have been using this one in the first place but I imagine you moved it to somewhere else?
This is tested on SNAPSHOT_v9.0d_2013-02-27/Pro Deployment 2013-02-27.
Thanks for your thoughts!
Comment