I have a problem with Liferay IPC. A portlet is developped by a thrid party and use Liferay IPC events to send.
I developped the receiver portlet with Vaadin 7.
I developped a portlet. In portlet.xml, I have these lines
UI
com.MyPortletReceiver
In my portlet, I implement javax.portlet.Portlet and javax.portlet.EventPortlet. but I never received the event.
If I removed init param in portlet.xml, it works.
As far as I remember Liferay IPC is not supported out of the box. You would need an add-on. Everything is documented in the
Book of Vaadin , but please beware that the add-on is more than 3 years old and might be outdated.
the add-on don’t work in my case.
but I found a solution.
In th init function, I add these lines
VaadinPortletSession vaadinPortletSession = (VaadinPortletSession) VaadinSession.getCurrent();
vaadinPortletSession.addPortletListener(this);
Then my class implements PortletListener.
I catch the event in the function handleEventRequest.