Liferay Client-Side IPC
Liferay Client-Side IPC How to implement Inter Portlet Communication on the Client Side Overview Widgets (portlets) in Liferay are usually dedicated to provide a separate piece of functionality: they can be placed onto a portal page, and work independently from the other widgets on the same page. But sometimes there are scenarios where one widget should react to the actions performed in another one. A typical example is search filters and search results: by applying a filter in the Search Filters widget the Search Results data should be updated according to selected filters. This kind of communication between portlets is called "Inter Portlet Communication" (IPC). IPC can be implemented in two ways: - Server-side, using the portlet events mechanism; - Client-side, using firing and listening to Javascript events; In this article you'll find how to implement IPC on the client side. Implementation For IPC implementation we'll use two portlets...