Fórum

How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

thumbnail
Vishnu Mohan, modificado 9 Anos atrás.

How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

New Member Postagens: 19 Data de Entrada: 14/10/14 Postagens Recentes
I am doing projects on Liferay Vaadin portlets. but, i have vaadin 7.1.15 and liferay 6.2, i don't know how to integrate both. Can anyone explain the necessary steps??
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2 (Resposta)

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
Getting the shared Vaadin context working can be a bear. I've got my own version of the Vaadin 7 Control Panel in the pipeline that will help manage it.

In the mean time you're probably better off using the standalone (self-contained) Vaadin portlet mechanisms. I believe this is outlined in the latest Vaadin Liferay Development Ref Card (available from the vaadin.com website).
thumbnail
Jack Bakker, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2 (Resposta)

Liferay Master Postagens: 978 Data de Entrada: 03/01/10 Postagens Recentes
a refcard:
http://refcardz.dzone.com/refcardz/mastering-portal-ui

a control panel from Arcusys:
https://www.liferay.com/marketplace/-/mp/application/27527287

but also like demos I saw of David's Vaadin control panel for Liferay... good to have options
thumbnail
Vishnu Mohan, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

New Member Postagens: 19 Data de Entrada: 14/10/14 Postagens Recentes
Thank you.. Those links are really Helpfull.
Nakul Patel, modificado 8 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

New Member Mensagem: 1 Data de Entrada: 07/10/15 Postagens Recentes
Hi Vishnu,

I am also upgrading vaading 6.8 portlet to vaading 7.0 version.I am using LR 6.2 CE.
1) Replaced vaadin.jar file.
2) Update VAADIN folder in WEB-INF/root/html/ directory.
3) Changed portlet.xml file as u mentioned above.
4) Trying to ant clean build vaadin portlet and build fails as it is not able to find com.vaadin.ui class.

I am getting same error as you have mentioned in the screen shot above.

Kindly help me how you have resolved it.

Thanks in advance.
Nakul
thumbnail
Vishnu Mohan, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

New Member Postagens: 19 Data de Entrada: 14/10/14 Postagens Recentes
I included the vaadin control panel and upgraded my vaddin to version 7.1.15. But still it is showing some errors like "com.vaadin.terminal.gwt.server.ApplicationPortlet2" in portlet.xml when creating new portlets.

In D:\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\ROOT\WEB-INF\lib
I removed the older vaadin.jar and added all the needed jars of vaadin like
vaadin-shared.jar
vaadin-shared-deps.jar
vaadin-server.jar
jsoup.jar
etc.....


Thanks in advance.
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
The class indicated is the portlet class for V6. You need to change it to com.vaadin.server.VaadinPortlet.

The current Vaadin support in the Liferay IDE only supports V6. You need to massage all of the files to make it use V7. Alternatively if you use the self-contained method the maven project will build everything correctly for a V7 portlet.

You should have only removed the V6 jars from ROOT/WEB-INF/lib, the V7 ones must be there to support the shared environment and were probably dropped there during the deployment of the control panel.
thumbnail
Vishnu Mohan, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

New Member Postagens: 19 Data de Entrada: 14/10/14 Postagens Recentes
I changed it to com.vaadin.server.VaadinPortlet. But still the error is there, for your convenience i attached one screenshot of my portlet.xml file.
I also wrote one program in V7 to check it, that also showing errors..
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
Right, you're missing the vaadin dependency jars, that's why you're getting the error indicators.
thumbnail
Vishnu Mohan, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

New Member Postagens: 19 Data de Entrada: 14/10/14 Postagens Recentes
Now I added all Vaadin dependency jars and the error from the portlet.xml(whole docroot folder) has gone. Then i checked my vaadin portlet program, But still there is some error with project in library buildpath.
When adding the vaadin portlet in Liferay page, shows that "Request was not handled by any registered handler". I added the screenshots here.
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
This error is returned by Vaadin itself, so this is going to be something related to your code, I believe.
thumbnail
Matti Tahvonen, modificado 9 Anos atrás.

RE: How can we Integrate Vaadin 7.1.15 with Liferay 6.2 ca-ga2

New Member Mensagem: 1 Data de Entrada: 23/05/14 Postagens Recentes
I'd definitely go with the self-contained method at this point unless you really have several Vaadin portlets on the same page.

BTW. Why 7.1.15? IIRC, the archetype we made for self-contained method is for a newer version of Vaadin and you could well use the latest and greatest 7.3.3 release.

cheers,
matti