Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Rajeev K
Liferay.Layout.refresh
May 18, 2010 6:50 AM
Answer

Rajeev K

Rank: Regular Member

Posts: 214

Join Date: June 18, 2009

Recent Posts

Hi,

I am trying to refresh my portlet.
I am using Liferay.Layout.refresh('portlet-name'). But this does not seem to work.

Any suggestions?
Michael Poznecki
RE: Liferay.Layout.refresh
May 18, 2010 10:32 AM
Answer

Michael Poznecki

Rank: Expert

Posts: 301

Join Date: December 10, 2008

Recent Posts

Do you need to refresh just the portlet? or the entire page?
Rajeev K
RE: Liferay.Layout.refresh
May 19, 2010 7:30 AM
Answer

Rajeev K

Rank: Regular Member

Posts: 214

Join Date: June 18, 2009

Recent Posts

Hi Michael,

Its just the portlet that I want to refresh.

I have tried-
Liferay.Portlet.refreshLayout('portlet-name'); AND
Liferay.Layout.refresh('portlet-name') but with no success.

Please suggest.