Fórumok

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

thumbnail
Vishnu Mohan, módosítva 9 év-val korábban

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

New Member Bejegyzések: 19 Csatlakozás dátuma: 2014.10.14. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

Liferay Master Bejegyzések: 978 Csatlakozás dátuma: 2010.01.03. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

New Member Bejegyzések: 19 Csatlakozás dátuma: 2014.10.14. Legújabb bejegyzések
Thank you.. Those links are really Helpfull.
Nakul Patel, módosítva 8 év-val korábban

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

New Member Bejegyzés: 1 Csatlakozás dátuma: 2015.10.07. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

New Member Bejegyzések: 19 Csatlakozás dátuma: 2014.10.14. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

New Member Bejegyzések: 19 Csatlakozás dátuma: 2014.10.14. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
Right, you're missing the vaadin dependency jars, that's why you're getting the error indicators.
thumbnail
Vishnu Mohan, módosítva 9 év-val korábban

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

New Member Bejegyzések: 19 Csatlakozás dátuma: 2014.10.14. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
This error is returned by Vaadin itself, so this is going to be something related to your code, I believe.
thumbnail
Matti Tahvonen, módosítva 9 év-val korábban

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

New Member Bejegyzés: 1 Csatlakozás dátuma: 2014.05.23. Legújabb bejegyzések
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