Forums de discussion

IPC

venka reddy, modifié il y a 10 années.

IPC

Regular Member Publications: 231 Date d'inscription: 23/03/11 Publications récentes
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, modifié il y a 10 années.

RE: IPC

Regular Member Publications: 158 Date d'inscription: 27/05/10 Publications récentes
I would prefer to use "Events" the very simple reason being it can transfer any serializable objects wherein PublicRenderParameter is always String.
Pritesh Shah, modifié il y a 10 années.

RE: IPC

Junior Member Publications: 31 Date d'inscription: 05/07/12 Publications récentes
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, modifié il y a 10 années.

RE: IPC

Regular Member Publications: 205 Date d'inscription: 05/01/11 Publications récentes
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