Unrendered UIDL

时间:2013-07-14 10:44:20

标签: java vaadin

我在vaadin 6上开发。我想使用vaadin图表添加。

我在web-inf中包含了所有.jar文件 - > lib并编译由vaadin插件为eclipse设置的小部件。但这是输出。

Widgetset does not contain implementation for com.vaadin.addon.charts.Chart. Check its @ClientWidget 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. Unrendered UIDL:

-Unrendered UIDL

-com.vaadin.addon.charts.Chart(NO CLIENT IMPLEMENTATION FOUND) id=PID10 height=300px width=400px confState={ "chart": { "type": "bar" }, "title": { "text": "Planets" }, "subtitle": { "text": "The bigger they are the harder they pull" }, "xAxis": { "categories": [ "Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune" ], "title": { "text": "Planet" }, "axisIndex": 0 }, "yAxis": { "labels": { "step": 2, "_fn_formatter": "function() {return Math.floor(this.value/1000) + \u0027Mm\u0027;}" }, "title": { "text": "Diameter" }, "axisIndex": 0 }, "legend": { "enabled": false }, "series": [ { "data": [ 4900, 12100, 12800, 6800, 143000, 125000, 51100, 49500 ], "name": "Diameter", "visible": true } ], "exporting": { "enabled": false } }

我做错了什么?

克里斯:D

1 个答案:

答案 0 :(得分:0)

您需要指定要使用的新widgetset(由编译器构建)。

可能您忘了在web.xml中指定它

https://vaadin.com/book/vaadin6/-/page/addons.compiling.html