Latest nightly, gwt 2.1.1, chrome 8.0.552.237.
I use this code to populate the datasource enum field:
and calling
returns this
Where the ... is this "__gwt_ObjectId=252" coming from?! Works fine on firefox.
regards,
Andrius J.
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);
Code:
type.getValueMap();
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}
regards,
Andrius J.
Comment