掲示板

Issue with Liferay.on/fire when the target portlet is refreshed

8年前 に Muhammad Taha によって更新されました。

Issue with Liferay.on/fire when the target portlet is refreshed

Junior Member 投稿: 63 参加年月日: 12/05/01 最新の投稿
Hi all,

I'm doing a liferay fire from a portlet-A, in liferay.on(Portlet-emoticon I'm doing portlet refresh (Portlet-emoticon..
but 2nd time when I do same liferay.fire it triggers liferay.on 2 times, 3rd time triggers 3 times and so on..

its happening only when I do portlet refresh in liferay.on.

Can you anyone here tell me why its happening.. and what can be done to fix this.

Thank you
Mahmmad
thumbnail
8年前 に David H Nebinger によって更新されました。

RE: Issue with Liferay.on/fire when the target portlet is refreshed

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Every time you invoke Liferay.on(), you're asking to be included when the the fire() method is called. If by refresh you mean you're calling on() over and over, then it's your own code that is causing the problem.
8年前 に Muhammad Taha によって更新されました。

RE: Issue with Liferay.on/fire when the target portlet is refreshed

Junior Member 投稿: 63 参加年月日: 12/05/01 最新の投稿
David, its not happening immediately after doing a portlet B refresh . only during next time Liferay.fire, as if I'm firing all one time again..