Hi,
I’m developing a Vaadin Portlet using Vaadin 6.6 and TreeTable 1.2.0. I downloaded and copied “vaadin-treetable-1.2.0.jar” to my Eclipse Project WebContent/WEB-INF/lib directory, I did Widgetset compilation as:
Updating GWT module description file…
May 25, 2011 3:56:57 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Widgetsets found from classpath:
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:D:/vaadin6.6/vaadin66Workspace/meditopia_portlet/WebContent/WEB-INF/lib/vaadin-6.6.0.jar!/
com.huawei.meditopia.admin.widgetset.Meditopia_portletWidgetset in file://D/vaadin6.6/vaadin66Workspace/meditopia_portlet/src
com.vaadin.addon.treetable.TreetableWidgetset in jar:file:D:/vaadin6.6/vaadin66Workspace/meditopia_portlet/WebContent/WEB-INF/lib/vaadin-treetable-1.2.0.jar!/
May 25, 2011 3:56:57 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Search took 0ms
Done.
Starting GWT compiler
May 25, 2011 3:57:14 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Searching for paintables…
May 25, 2011 3:57:15 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Search took 1216ms
Widgetset compilation completed
I copied the generated VAADIN/widgetset/* to Liferay Portal html/VAADIN/widgetset directory, then I deployed my Vaadin Application WAR file to Liferay as a Portlet, but I got the following error messages in my portlet window:
===========================================================================================
Widgetset does not contain implementation for com.vaadin.addon.treetable.TreeTable. 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:
com.vaadin.addon.treetable.TreeTable(NO CLIENT IMPLEMENTATION FOUND)
Looking at the generated widgetset xml file:
<?xml version="1.0" encoding="UTF-8"?><!--
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"/> -->
<inherits name="com.vaadin.addon.treetable.TreetableWidgetset" />
==========================================================
I’m also wondering whether there is a default “com.vaadin.addon.treetable.TreeTable” WidgetSet need be downloaded and installed?
Any tip or suggestion is really appreciated.
Thanks in advance!
Jian