Hi,
We’re trying to upgrade our Vaadin 6 portlets on Liferay 6.0.x to Vaadin 7. It’s been a process, but almost everthing works… except for add-on widgets. We need to build a custom widget set containing all our add-ons as well as the default liferay widgets. We’ve donwloaded and installed the latest Vaadin Control panel and it seems to work. That is, it succesfully compiles a widget set, and we can see it’s created on disk, but Vaadin keeps using the DefaultWidgetset.
The Book says in chapter 12.5 “Installing Vaadin in Liferay” (
https://vaadin.com/book/vaadin7/-/page/portal.liferay.html
):
and
But
https://vaadin.com/wiki/-/wiki/Main/Migrating+from+Vaadin+6+to+Vaadin+7
says:
As it turns out, the Vaadin Control Panel for Liferay picks up the vaadin.widgetset parameter and creates the new custom widget set there, but Vaadin iitself always looks at the default widget set under com.vaadin.DefaultWidgetSet. If the vaadin.widgetset parameter is not defined in portal-ext.properties, Vaadin still picks com.vaadin.DefaultWidgetSet and the Control Panel still picks com.vaadin.portal.gwt.PortalDefaultWidgetSet. If I change the vaadin.widgetset parameter in portal-ext.properties, compiling the widgset using the Control Panel suddenly starts giving all kinds of strange errors.
With Vaadin 6, building the new widget set in place (i.e. in com.vaadin.portal.gwt.PortalDefaultWidgetSet) just worked, so something must have changed here.
Can someone from the Vaadin team explain this in a bit more detail and/or correct the documentation where it is misleading?
Thanks!
Frans