我想在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