留言板
IPC in Hook
Hi Guys,
I am developing two hooks. I have already done IPC between two portlats but now i am want to communicate between two hooks. Is it possible? Any guidelines?
I am developing two hooks. I have already done IPC between two portlats but now i am want to communicate between two hooks. Is it possible? Any guidelines?
No sorry, it's not possible. Hook is not an "autonomous" plugin. It allows to override JSP, to define some events for your portal. So it's not a portlet. And so, Inter-Portlet Communication is not available for it.
On the other hand, you can use IPC on the Liferay default portlets through the hook.
Nevermind, you can share resources using sessions (HttpSession, PortletSession or some custom sessions you can build and put on a Ext plugin).
On the other hand, you can use IPC on the Liferay default portlets through the hook.
Nevermind, you can share resources using sessions (HttpSession, PortletSession or some custom sessions you can build and put on a Ext plugin).