Foren

JQuery ajax asynchronous Load issue of portlets

Mukunda Madhava, geändert vor 15 Jahren.

JQuery ajax asynchronous Load issue of portlets

New Member Beiträge: 3 Beitrittsdatum: 13.02.09 Neueste Beiträge
Hi,
We are using LifeRay v5.1.1 with tomcat 6.0 and Spring framework.

In our portlets we submit the jsp using JQuery.ajax method.

By default the submit through JQuery.ajax is asynchronous.
But the issue is if a page has multiple portlets on first load the portlets do not load properly.
That is, sometimes the contents of one portlet is loaded in another adjacent portlet.

To fix this we had to make the page load synchronous, that is set the async flag to false in the JQuery ajax. This workaround makes the page load time consuming.

So if anyone has any idea about any fix to this aschronous initial load of JQuery ajax, please let me know.

Thanks in advance,
Mukunda