Directory

Vaadin IPC for Liferay - Vaadin Add-on Directory

Provides inter-portlet communication for portlets deployed to a Liferay server Vaadin IPC for Liferay - Vaadin Add-on Directory
The standard inter-portlet communication (IPC) mechanism defined in the Portlet 2.0 specifications requires the page to be reloaded when the communication takes page. This is not very nice, especially for Vaadin application. Liferay provides a JavaScript API that allows portlets to communicate without the need of refreshing the page. This component uses that API to allow Vaadin portlets to communicate with each other without the need of refreshing the page or using a push add-on. The add-on also allows Vaadin portlets to communicate with non-Vaadin portlets and Liferay gadgets, using the same API. The data sent using this mechanism is limited to a String and is passed to the target portlet(s) on the client side. If you want to pass data on server side you can store the data somewhere where it is available to the target portlet and only pass a reference which allows the target portlet to lookup the real data. This add-on replaces the earlier LiferayIPC add-on. For Vaadin 7: The demo war requires 7.0.0.beta11 to be in use in the portal. Also add vaadin-ipc-for-liferay-2.0.0.jar to WEB-INF/lib before deploying the demo war. No widgetset compilation is needed. For Vaadin 6: The demo war requires WEB-INF/lib/vaadin.jar (Built using Vaadin 6.6.2) and WEB-INF/lib/vaadin-ipc-for-liferay-1.0.0.jar to be found in the portal. Remember to rebuild the Vaadin widget set in Liferay after adding the IPC add-on!