0
私はspring + vaadinを使ってクラスでクライアント側コンポーネントを動作させようとしています。vaadin 8 + springカスタムウィジェットセット
問題はおそらくカスタムウィジェットセットにあります。どこにプロジェクトを配置する必要がありますか?クライアントコンポーネントに近い? Resouces(リソース中にコンパイルできない)
しかし、クライアントコンポーネントはonStateChangeを呼び出されません。私はすべてを試してみましたが、私はそれを処理できません。
gwt package {
client {
connector extended by AbstractExtensionConnector with @Connect directivy
ClientSide class with java
}
AppWidgetset.gwt.xml
}
impl
{
server {
Class with AbstractExtension
}
}
pom.xml
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>${vaadin.plugin.version}</version>
<configuration>
<extraJvmArgs>-Xmx1G -Xss1G</extraJvmArgs>
<webappDirectory>${basedir}/target/classes/VAADIN/widgetsets</webappDirectory>
<hostedWebapp>${basedir}/target/classes/VAADIN/widgetsets</hostedWebapp>
<noServer>true</noServer>
<persistentunitcachedir>${basedir}/target/tmp/gwt-unitCache</persistentunitcachedir>
<compileReport>true</compileReport>
<strict>true</strict>
</configuration>
<executions>
<execution>
<goals>
<goal>update-theme</goal>
<goal>update-widgetset</goal>
<goal>compile
</goal> <!-- Comment out compile-theme goal to use on-the-fly theme
compilation -->
<goal>compile-theme</goal>
</goals>enter code here
</execution>
</executions>
</plugin>