Announcement

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

    Question about SimpleType usage

    In my EntryPoint class I create a SimpleType named "currency" which I have specified as the type for a number of fields in various ds.xml files. The SimpleType has a custom formatter and is working fine.

    I'm now trying to use the same type in a client-only data source that I create at runtime. I've exposed the SimpleType object created in the EntryPoint class (IPGui) as a public static variable (currencyType) and when I create the DataSourceField I then specify

    newDsField.setType(IPGui.currencyType);

    Each line of code like the above generates a warning at runtime ...

    com.smartgwt.client.core.JsObject$SGWT_WARN: 23:30:29.631:MUP8:WARN:SimpleType:isc_OID_1:SimpleType 'currency' defined twice:

    The formatter still works on the newDsField so the only "problem" is the warning messages. What is causing the warning messages?

    #2
    We think it's a problem with a double internal call to register() - we'll fix - should be harmless.

    Comment


      #3
      Fixed in SVN.

      Comment

      Working...
      X