Announcement

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

    Problem with DataSourceEnumField and Chrome dev mode

    Latest nightly, gwt 2.1.1, chrome 8.0.552.237.

    I use this code to populate the datasource enum field:

    Code:
            DataSourceField type = new DataSourceEnumField("type", "Type");
            Map<String, String> typeEnumValues = new LinkedHashMap<String, String>();
            typeEnumValues.put("CONTAINER", "Container");
            typeEnumValues.put("TEXT", "Text");
            typeEnumValues.put("INTEGER", "Integer");
            typeEnumValues.put("FLOAT", "Float");
            typeEnumValues.put("BOOLEAN", "Boolean");
            typeEnumValues.put("DATE", "Date");
            typeEnumValues.put("DATE_TIME", "Date/time");
            typeEnumValues.put("LINK", "Link");
            typeEnumValues.put("ENUM", "Enumeration");
            typeEnumValues.put("IMAGE", "Image");
            typeEnumValues.put("FILE", "File");
            type.setValueMap(typeEnumValues);
    and calling
    Code:
    type.getValueMap();
    returns this
    Code:
    {DATE_TIME=Date/time, INTEGER=Integer, BOOLEAN=Boolean, FLOAT=Float, ENUM=Enumeration, LINK=Link, CONTAINER=Container, TEXT=Text, __gwt_ObjectId=252, DATE=Date, FILE=File, IMAGE=Image}
    Where the ... is this "__gwt_ObjectId=252" coming from?! Works fine on firefox.

    regards,
    Andrius J.

    #2
    GWT Core bug which is specific to Chrome - see the FAQ.

    Comment

    Working...
    X