我想在Vaadin中擴展樹組件。因此,我創建客戶端類如:延伸Vaadin部件
import com.vaadin.terminal.gwt.client.ui.VTree;
public class CustomVtree extends VTree {
}
服務器端類:
import com.vaadin.ui.ClientWidget;
import com.vaadin.ui.Tree;
@ClientWidget(CustomVtree.class)
public class MyTree extends Tree {
public MyTree() {
super();
}
}
而且我得到了 [WARN] Widget class com.vaadin.sample.gwt.client.ui.CustomVtree was not found. The component com.vaadin.sample.gwt.client.ui.MyTree will not be included in the widgetset.
我忘記什麼做的還是什麼,我做錯了什麼?對任何幫助感到高興。謝謝
Сonnector不需要創建? – Alex78191 2018-02-28 12:22:29