Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Vaadin 8.0.5 with Liferay 7.0 GA3
I want to develop some Vaadin 8 portlets for Liferay 7.0, and I found a maven archetype (vaadin-archetype-liferay-portlet) V8.0.5, but it is for Liferay 6.2.
I created a sample project in Eclipse with the archetype mentioned above and I can deploy it to Liferay 7 without any errors.
When I load the page in the web browser I get an error message saying:
Is the archetype a good starting point to develop Vaadin 8 portlets for Liferay 7?
Secondly how do I fix the above JS issue?
I found the "Vaadin/ Liferay DXP / 7.0 compatibility pack" at https://github.com/sammso/com.vaadin.liferay.
I build the liferay package which resulted in com.vaadin.liferay.distribution-8.0.5.lpkg file.
Copied to the my <liferay-home>/deploy directory which deployed the it to <liferay-home>/osgi/marketplace directory.
"Note due the latest changes at Liferay 7.0 / DXP following deployment package is not complete to be deployed.
To workaround you need to unzip the com.vaadin.liferay.distribution-<version>.lpkg and copy to the results to <liferay-home>/osgi/modules folder.unzip org.liferay.vaadin7.compatibilitypack/target/com.vaadin.liferay.distribution-<version>.lpkg -d <replace-this-to-your-liferay7-home>/deploy"
I interpreted the above instructions as having to copy the jar files included in the com.vaadin.liferay.distribution-8.0.5.lpkg file to the <liferay-home>/osgi/modules directory.
I restarted Liferay and when I reload the page with the sample Portlet created with the vaadin-archetype-liferay-portlet V8.0.5 archetype I still get the JS error:
If using Liferay 7, you might also be interested in testing out the new OSGi and Liferay 7 support in Vaadin Framework 8.1, currently in the last pre-release stages.
Any idea how can I use CKEditor add on inside the Liefary DXO (OSgi) environmet?