General Interface is an open source project hosted by the Dojo Foundation

app inside portlet gets refreshed/reset by other

app inside portlet gets refreshed/reset by other

Postby rmh78 » Fri Jul 02, 2010 3:56 am

Hi,

Our Liferay Portal hosts two portlets on one page. One portlet includes a tibco gi application the second portlet holds just some linked JSPs. Everytime the JSP-portlet links to an other jsp the whole portal page is refreshed and the ajax portlet is reloaded and so reset in its state too.

How to prevent this complete portal page refresh and reset of our ajax-portlet?

Thanks,
Harald
rmh78
 
Posts: 6
Joined: Wed Mar 17, 2010 8:06 am

Re: app inside portlet gets refreshed/reset by other

Postby swift » Mon Jul 05, 2010 3:44 am

That's the way a portal (JSR-168) is supposed to work.

You have two options:
1. Convert the second portlet to use ajax style requests but PortletRequests.
2. Save the GI-Portlet's state (e.g. in a cookie) and restore it when the page is reloaded.

Rainer
swift
 
Posts: 6
Joined: Mon Oct 12, 2009 11:31 pm


Return to GI Developers

Who is online

Users browsing this forum: No registered users and 1 guest