In the new SmartGWT 2.4, there seems to be a problem with the TextItem getType() method, it returns NULL.
We use 'SC_SNAPSHOT-2011-01-05/PowerEdition Deployment 2011-01-05'
Looking at the underlying code, the problem seems to be a mixup between the 'editorType' and 'type' attributes.
1) Constructor in TextItem:
public TextItem(){
setAttribute("editorType", "TextItem");
}
2) getType() method in FormItem:
public String getType() {
return getAttribute("type");
}
Was this intended?
We use 'SC_SNAPSHOT-2011-01-05/PowerEdition Deployment 2011-01-05'
Looking at the underlying code, the problem seems to be a mixup between the 'editorType' and 'type' attributes.
1) Constructor in TextItem:
public TextItem(){
setAttribute("editorType", "TextItem");
}
2) getType() method in FormItem:
public String getType() {
return getAttribute("type");
}
Was this intended?
Comment