Announcement

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

    [SmartGWT4] Compile issues after taking latest nightly

    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!

    #2
    #1 is fixed for tomorrow's build

    Comment


      #3
      About convertToCanvasArray() - this is an internal utility method we wouldn't really expect you to be using, but if you need it for some reason, it's been moved to the ConvertTo class along with similar utilities.

      Comment


        #4
        Great, thanks for the fix and pointer!

        Comment

        Working...
        X