掲示板

IPC

10年前 に venka reddy によって更新されました。

IPC

Regular Member 投稿: 231 参加年月日: 11/03/23 最新の投稿
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
10年前 に Kamesh Sampath によって更新されました。

RE: IPC

Regular Member 投稿: 158 参加年月日: 10/05/27 最新の投稿
I would prefer to use "Events" the very simple reason being it can transfer any serializable objects wherein PublicRenderParameter is always String.
10年前 に Pritesh Shah によって更新されました。

RE: IPC

Junior Member 投稿: 31 参加年月日: 12/07/05 最新の投稿
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
10年前 に Sandip Patel によって更新されました。

RE: IPC

Regular Member 投稿: 205 参加年月日: 11/01/05 最新の投稿
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