Foren

Issue with Self Contained Liferay Vaadin IPC Portlet

thumbnail
Nithin KV, geändert vor 6 Jahren.

Issue with Self Contained Liferay Vaadin IPC Portlet

Junior Member Beiträge: 56 Beitrittsdatum: 23.07.12 Neueste Beiträge
Hi,
I have created a Self Contained Liferay Vaadin IPC portlet. It works well without making the portlets instanceable where there is one sender and receiver portlet on a page. Next , I made the portlets instanceable and made the eventId configurable so that I can have multiple sender and receiver portlets on a Page. But it is not working as it renders only one receiver portlet on a page when i send the request from two Sender portlets even though they have different event Ids. Can anyone please help me to fix it ?

Vaadin Version : 7.2
Liferay Version 6.2
thumbnail
David H Nebinger, geändert vor 6 Jahren.

RE: Issue with Self Contained Liferay Vaadin IPC Portlet

Liferay Legend Beiträge: 14915 Beitrittsdatum: 02.09.06 Neueste Beiträge
It may not be clear, but the Vaadin IPC component is actually based on Liferay's javascript code for the fire() and on() methods.

I wouldn't consider it the same as the true portlet IPC spec. If that's what you're trying to do, I would almost counsel against that anyway. Vaadin runs well within the browser and will invoke the java side as necessary, so the portlet IPC spec will really just cause you nothing but problems.









Come meet me at 2017 LSNA!