Foros de discusión

IPC

venka reddy, modificado hace 10 años.

IPC

Regular Member Mensajes: 231 Fecha de incorporación: 23/03/11 Mensajes recientes
Hi,

For IPC we can use

1. PublicRenderParameter -- In Liferay the way Tag-cloud and blog communicates each other.

2. Events.

In these 2 options which one we can prefer.

What are the advantages and disadvantages?
thumbnail
Kamesh Sampath, modificado hace 10 años.

RE: IPC

Regular Member Mensajes: 158 Fecha de incorporación: 27/05/10 Mensajes recientes
I would prefer to use "Events" the very simple reason being it can transfer any serializable objects wherein PublicRenderParameter is always String.
Pritesh Shah, modificado hace 10 años.

RE: IPC

Junior Member Mensajes: 31 Fecha de incorporación: 5/07/12 Mensajes recientes
Also, with public render paramter portal remembers them for all later executions of the portlet until the portlet is invoked with different parameters.

So using Events is the recommended way with jsr286
thumbnail
Sandip Patel, modificado hace 10 años.

RE: IPC

Regular Member Mensajes: 205 Fecha de incorporación: 5/01/11 Mensajes recientes
Hi,
The choice is dependent of your requirements. With public render parameter you can pass only String parameter while with Events you can pass any things between portlets.

Please look: http://innovationliferay.blogspot.in/p/inter-portlet-communication.html

Regards,
Sandip Patel