Announcement

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

    setProperty()

    According to the javadocs: https://www.smartclient.com/smartgwt...a.lang.Object-
    you can set a property in the DSResponse in the server-side.
    But how to get it back in the client-side?
    "JavaScript code on the client could then access "dsResponse.totalsRowsIsApproximate" from any method that receives the DSResponse, eg, DataSource.transformResponse(). "
    As smartGWT doesn't directly deal with javascript, which would be the correct java method to retrieve it ?

    #2
    I guess .getAttribute(). Maybe you can mention this in the javadocs

    Comment


      #3
      The JavaDoc for DSResponse.setProperty has been updated to mention the getAttribute() API when working on SmartGWT.

      Please try the next nightly build, dated 2016-07-29 and later.

      Regards
      Isomorphic Software

      Comment

      Working...
      X