Announcement

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

    AdvancedCriteria: Missing constructor with long type

    Hi,

    Is there a particular reason that there is no constructor for AdvancedCriteria with value type long?
    http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/data/AdvancedCriteria.html

    If it has just been forgotten to add, would you mind adding it?

    Thanks,
    fatzopilot

    SmartClient Version: v8.3p_2013-09-25/PowerEdition Deployment (built 2013-09-25)

    #2
    There is a similar issue with RecordList and ResultSet, they lack find methods for long types as well.
    Last edited by fatzopilot; 8 Oct 2013, 07:11.

    Comment


      #3
      Hello,
      There was already methods with Long parameters in AdvancedCriteria in smartgwt 4.0 and nightly. We added methods with Long parameters to RecordList and ResultSet in 4.0 and nightly builds of smartgwt. Changes will be available in next builds (dated Oct 15 or above).
      However, be careful in using Long parameters because Javascript doesn't have support for this type and it is emulated by gwt by converting it to double which reduces Long range to [-9007199254740992,9007199254740992] or [-Math.pow(2,53),Math.pow(2,53)].

      Regards
      Isomorphic Software

      Comment


        #4
        Thanks,

        that's good news. Any chance it will make it into 3.1 as well? Problem is, the PowerEdition is not Open Source so I cannot make this presumably trivial change myself.

        Thanks,
        fatzopilot

        Comment

        Working...
        X