Announcement

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

    FormItemValueFormatter Object value is JS Array

    Hi,

    I have
    Code:
    public class MyValueFormatter implements FormItemValueFormatter {
    
    public String formatValue(Object value, Record record, DynamicForm form, FormItem item) {
    }
    }
    but with the build of SmartClient Version: SC_SNAPSHOT-2010-11-22 "Object value" is now an array (not so in SC_SNAPSHOT-2010-11-12).

    Is this a bug, new development or will it be like this in the future?

    #2
    Are you seeing this in web mode, or hosted mode? Also what is the OS, GWT version and browser used.

    Sanjiv

    Comment


      #3
      yes, GWT 2.1.0 IE8 WinXP 32bit hosted mode. I didn't check webmode.


      Object value is now a "JavaScriptObject[] value"
      and before Object value was a JavaScriptArray.

      Comment


        #4
        Aww, I'm seeing this change from JSArray to Java Array on other places as well, breaking some things.

        Comment


          #5
          We'll look into it but as always, posting a simplified standalone testcase will help reduce the turnaround time.

          Comment


            #6
            Fixed, please try the next nightly.

            Sanjiv

            Comment


              #7
              Thanks Sanjiv, works again with the build of 2010-11-25.

              Comment

              Working...
              X