Announcement

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

    DataSource and setAutoConvertRelativeDates

    Hello,

    how can I set autoConvertRelativeDates for DataSources, that are loaded by DataSourceLoader?

    setAutoConvertRelativeDates can only be used for DataSources, that are not created (loaded).

    I'm using Isomorphic SmartClient/SmartGWT Framework (v9.1p_2014-08-07/Pro Deployment 2014-08-07).

    Regards

    Peter

    #2
    A documentation glitch caused this not to show up in the "serverds" Javadoc package - that's being corrected.

    However you can set it now like so:

    Code:
    <DataSource ...>
        <autoConvertRelativeDates xsi:type="boolean">false</autoConvertRelativeDates>
    If this syntax looks unfamiliar, see the Component XML and Component Schema overviews.

    Comment


      #3
      The issue has been fixed. From now on you can set the value using this syntax:
      Code:
      <DataSource ...
          autoConvertRelativeDates="false"
      >
      You'll find the fix in the next nightly build for your release (9.1), available tomorrow August 30th

      Comment

      Working...
      X