Forums

Home » Liferay Portal » English » x. Miscellaneous »

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
DDD D DD
Refresh a portlet from another portlet
April 14, 2008 9:25 AM
Answer

DDD D DD

Rank: New Member

Posts: 1

Join Date: February 11, 2008

Recent Posts

Hello,

I have to refresh a portlet from another one
but I'm new with portlets and portals manipulations and I can't find the way to make it work.

I already searched into the forum and I found this :

function refresh_portlet()
{
var url = "<portlet:renderURL windowState="<%= LiferayWindowState.EXCLUSIVE.toString() %>"><portlet:param name="test" value="1" /></portlet:renderURL>";
AjaxUtil.update(url, "<portlet:namespace/>HelloWorld");
}

but as soon as I use "LiferayWindowState.EXCLUSIVE.toString()",
in the portlet is written "HelloWorldPortlet is temporarily unavailable."
and I can't anderstand why.

Thanks in advance for your help.
The Meurwinn Concept Concept
RE: Refresh a portlet from another portlet
June 13, 2008 7:56 AM
Answer

The Meurwinn Concept Concept

Rank: Expert

Posts: 262

Join Date: April 9, 2006

Recent Posts

Hi, i am interested to in that problem.

Thank you.
Mariano Cifre
RE: Refresh a portlet from another portlet
June 26, 2008 1:22 PM
Answer

Mariano Cifre

Rank: Junior Member

Posts: 90

Join Date: May 27, 2008

Recent Posts

DDD D DD:
... as soon as I use "LiferayWindowState.EXCLUSIVE.toString()", in the portlet is written "HelloWorldPortlet is temporarily unavailable." and I can't anderstand why.


That must be because LiferayWindowState class is not included on the page you are trying to use.

Try importing it.
<%@page import="package.name.LiferayWindowState"%>


HTH,
Mariano.