InvientChart アドオンの開始方法を誰か説明してもらえますか? 私はこのようなことをしました:
- 新しい Vaadin プロジェクトを作成する
- jar を WebContent/WEB-INF/lib に追加します。
- jquery.js と highchart.js を WebContent/js フォルダーに追加します。
- ApplicationServlet を拡張するクラスを作成し、上記の js ファイルに url を追加します
- web.xml のサーブレット クラスを変更する
- InvientPie クラス リンクを作成する
- プロジェクトを実行してウィジェットセットをコンパイルする
私はこのエラーが発生しています:
ウィジェットセットの読み込みに失敗しました: /chartProject/VAADIN/widgetsets/com.example.chartProject.widgetset.ChartProjectWidgetset/com.example.chartProject.widgetset.ChartProjectWidgetset.nocache.js?1368453503030
私は InvientCharts 0.8.6 、Vaadin 6.8.5、gwt-dev 2.3.0、gwt-user 2.3.0 を使用しています
何か不足していますか?このアドオンを明確に使用するための正しい順序を教えてください。ありがとう
編集:コンパイル後の私のwidgetset.xmlはここにあります
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd">
<module>
<inherits name="com.vaadin.terminal.gwt.DefaultWidgetSet" />
<!--
Uncomment the following to compile the widgetset for one browser only.
This can reduce the GWT compilation time significantly when debugging.
The line should be commented out before deployment to production
environments.
Multiple browsers can be specified for GWT 1.7 as a comma separated
list. The supported user agents at the moment of writing were:
ie6,ie8,gecko,gecko1_8,safari,opera
The value gecko1_8 is used for Firefox 3 and later and safari is used for
webkit based browsers including Google Chrome.
-->
<!-- <set-property name="user.agent" value="gecko1_8"/> -->
</module>