Reputation: 25
With Liferay 6.x it is very easy to develop and deploy some Vaadin 7 portlets. Because of all changes in Liferay 7, my Portlets won't work. I didn't even get a single "Hello World" Vaadin portlet to run.
I've already read the article from "Sampsa Sohlman" (Link), but it won't work with the newest Version of Liferay.
My question: Is there any chance to get an example Vaadin 7 Liferay 7 "Hello World" Portlet?
I'm grateful for every answer!
Upvotes: 1
Views: 1169
Reputation: 34
Liferay's message board thread has now answer for you :)
https://web.liferay.com/community/forums/-/message_boards/message/76582064
In a nutshel (copying the most important from the above source) You need to build:
https://github.com/sammso/vaadin/tree/manifest-fix
Then you need to build :
https://github.com/sammso/com.vaadin.liferay
You can also try older version https://github.com/sammso/com.vaadin.liferay/tree/7.6.7 that is still with old package paths etc. Also https://github.com/sammso/vaadin/tree/manifest-fix is now at https://github.com/vaadin/vaadin and will be released on next version.
In order to build the current version you need to manually edit the POM.xml
Change the following dependency in all the pom.xml
that it occurs:
<dependency>
<groupId>com.liferay.portal</groupId>
<artifactId>portal-service</artifactId>
<version>${liferay.version}</version>
<scope>provided</scope>
</dependency>
to the next.
<dependency>
<groupId>com.liferay.portal</groupId>
<artifactId>com.liferay.portal.kernel</artifactId>
<version>2.7.0</version>
<scope>provided</scope>
</dependency>
Upvotes: 1
Reputation: 413
Hi here is a link to develop a portlet in vaadin 7 link The author loaded the project into his own github account, you can access it from here. Feel free to clone it, fork it, modify as you'd like.
If you have the Vaadin 7 Control Panel installed and you've deployed the LazyPagedContainer Add On, you can download and deploy the vaadin-sample-portlet-1.0-SNAPSHOT.war link file directly from this blog.
Upvotes: 0