Foren

Bad potlet refresh when using ajax

Billy K, geändert vor 13 Jahren.

Bad potlet refresh when using ajax

New Member Beitrag: 1 Beitrittsdatum: 26.08.10 Neueste Beiträge
Hello all,

I have some troubles when I refresh my custom portlets into Liferay Portal.

I have two struts-portlets A & B both using JQuery.load() to update a part of the portlet.


Problem Description:

I use the Portlet A. I click on a button which call JQuery.load() and update a div content.

All is OK.

I use now the Portlet B. I click on a button which call a struts action (not need to be an AJAX call).

The Portlet B is refreshing with the result of this call. The Portlet A is also refreshed and contains now only the HTML result of the JQuery.load()!


How to fix this behaviour?


I'm currently working with Liferay 5.2.3. All my portlets have the property expiration-cache set to 600.

Thanks a lot,

Regards