Vaadin 编译小部件(插件)
我需要一些帮助来编译我的 vaadin 项目的小部件。我已经下载了一个插件(FormSender),因为它是一个客户端组件,我必须编译我的wingets,当我单击 Eclipse 中的 Vaadin 小部件编译按钮时,我得到以下消息:
Compiling widgetset com.example.vaadinproject.widgetset.VaadinprojectWidgetset
Updating GWT module description file...
Sep 28, 2011 10:32:50 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Widgetsets found from classpath:
org.vaadin.hene.popupbutton.widgetset.PopupbuttonWidgetset in jar:file:/home/s2padmin/workspace/VaadinProject/WebContent/WEB-INF/lib/popupbutton-1.2.1.jar!/
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:/home/s2padmin/workspace/VaadinProject/WebContent/WEB-INF/lib/vaadin-6.6.0.jar!/
com.example.vaadinproject.widgetset.VaadinprojectWidgetset in file:/home/s2padmin/workspace/VaadinProject/src
org.vaadin.risto.formsender.widgetset.FormsenderWidgetset in jar:file:/home/s2padmin/workspace/VaadinProject/WebContent/WEB-INF/lib/formsender-0.1.jar!/
Sep 28, 2011 10:32:50 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Search took 28ms
Done.
Starting GWT compiler
Sep 28, 2011 10:33:16 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Searching for paintables..
Sep 28, 2011 10:33:17 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Search took 1075ms
Widgetset compilation completed
到目前为止看起来不错,我的项目“widgetset.gwt.xml”中正在创建一个新文件,它包含:
inherits name="org.vaadin.risto.formsender.widgetset.FormsenderWidgetset"
但它不起作用...我在我的 portlet 中收到以下消息:
Widgetset 不包含以下实现 org.vaadin.risto.formsender.FormSender。检查它的@ClientWidget 映射、widgetsets GWT 模块描述文件并重新编译您的 小部件集。如果您下载了 vaadin 附加包,您 可能需要参考附加说明。未渲染的 UIDL:
org.vaadin.risto.formsender.FormSender(未找到客户端实现) id=PID7
我正在使用 eclipse,安装了 liferay Portal +vaadin 插件。
有人见过这样的东西吗?是因为liferay还是其他什么原因,我尝试了很多插件,但没有一个能工作。
I need some help compiling the widgets of my vaadin project. I have downloaded an addon (FormSender) , because it an client-side component i have to Compile my wingets, when i click the Vaadin widgets compile button in eclipse, i get the following message :
Compiling widgetset com.example.vaadinproject.widgetset.VaadinprojectWidgetset
Updating GWT module description file...
Sep 28, 2011 10:32:50 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Widgetsets found from classpath:
org.vaadin.hene.popupbutton.widgetset.PopupbuttonWidgetset in jar:file:/home/s2padmin/workspace/VaadinProject/WebContent/WEB-INF/lib/popupbutton-1.2.1.jar!/
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:/home/s2padmin/workspace/VaadinProject/WebContent/WEB-INF/lib/vaadin-6.6.0.jar!/
com.example.vaadinproject.widgetset.VaadinprojectWidgetset in file:/home/s2padmin/workspace/VaadinProject/src
org.vaadin.risto.formsender.widgetset.FormsenderWidgetset in jar:file:/home/s2padmin/workspace/VaadinProject/WebContent/WEB-INF/lib/formsender-0.1.jar!/
Sep 28, 2011 10:32:50 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Search took 28ms
Done.
Starting GWT compiler
Sep 28, 2011 10:33:16 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Searching for paintables..
Sep 28, 2011 10:33:17 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Search took 1075ms
Widgetset compilation completed
it looks good so far, a new file is being made in my project "widgetset.gwt.xml" it contains :
inherits name="org.vaadin.risto.formsender.widgetset.FormsenderWidgetset"
but its not working ... i get the following message in my portlet :
Widgetset does not contain implementation for
org.vaadin.risto.formsender.FormSender. 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:
org.vaadin.risto.formsender.FormSender(NO CLIENT IMPLEMENTATION FOUND)
id=PID7
Im working with eclipse, have liferay portal installed +vaadin addon.
have anyone seen something like this? is it because of liferay or something else , i have tryed lots of addons , but none of them is working.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我下载了一个 liferay 插件,它编译 Vaadin 插件。我在 Liferay 上作为 portlet 运行我的应用程序,所以我需要在 Liferay 上编译共享小部件集,Vaadins eclipse 插件的编译按钮将小部件编译到项目而不是门户网站本身。
插件:
Liferay 的 Vaadin 控制面板
I have downloaded an liferay plugin wich compiles the Vaadin addons.I was running my application as a portlet on Liferay , so i needed to compile the shared widgetset on Liferay , the compile button of Vaadins eclipse plugin compiled the widgets to the project not to the Portal itself.
Addon :
Vaadin Control Panel for Liferay