這裏有一個問題:我有一個bean和這個bean有一個枚舉屬性:GWT,枚舉,單選按鈕和編輯器框架
enum E {
ONE, TWO, THREE;
}
class A implements Serializable {
public E foo;
}
我想使用GWT Editor framework讓用戶編輯這個bean
public class P extends FlowPanel implements Editor<A> {
// ... UiBinder code here ...
@UiField RadioButton one, two, three;
// ...
}
我得到了一個錯誤:
[ERROR] [gwtmodule] - Could not find a getter for path one in proxy type com.company.A
[ERROR] [gwtmodule] - Could not find a getter for path two in proxy type com.company.A
[ERROR] [gwtmodule] - Could not find a getter for path three in proxy type com.company.A
有沒有一種方法,使在GWT 2.2這項工作?
感謝張貼此代碼安東尼奧。 – Stevko 2011-03-15 16:56:57