I'm trying to create a custom widget that will mimic a Navigation Drawer similar to Android / Polymer in Vaadin. However I keep encountering several errors such as:
Widgetset 'X' does not contain implementation for 'Y'. Check its component connector's @Connect mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions.
I've set up my custom widget in the following file structure, as I read in Ch. 16 of the Book of Vaadin that the file structure requires 'client' package to be at the level of the .gwt.xml:
src/main/my/domain/core/views/drawerpanel
|---DrawerPanel.java
|---DrawerPanelWidgetSet.gwt.xml
|---client
|----DrawerPanelClientRpc.java
|----DrawerPanelConnector.java
|----DrawerPanelLisetener.java
|----DrawerPanelServerRpc.java
|----DrawerPanelState.java
|----VDrawerPanel.java
However, when Connector is in the client package the compiler keeps complaining about being unable to trace file path for DrawerPanel or unable to find Type DrawerPanel. This can only be resolved by moving the Connector out of client and up to the .gwt.xml level.
Any help is appreciated.
UPDATE
I've moved the DrawerPanel.java to src/main/my/domain/core/views and DrawerPanelWidgetset.gwt.xml to the src/resources directory. It has stopped complaining about the Connector being unable to trace the file path at compile now. Unfortunately, still receiving the Widgetset 'X' does not contain implementation for 'Y' on runtime however.