Fórum
How to maximize a portlet through hook
Santhosh Reddy, modificado 11 Anos atrás.
How to maximize a portlet through hook
New Member Postagens: 23 Data de Entrada: 31/10/12 Postagens Recentes
Hi
I am using Liferays "recently downloaded" portllet in liferay 6.1 ee. i wrote on hook for that, it shows by default 5 recent downloaded documents.
once i click "see all button" portlet shoud be maximized and it should show 10 results per page with pagination. I an not able to maximize the portlet.
any idea regarding this is highly appreciated.
thanks,
santhosh
I am using Liferays "recently downloaded" portllet in liferay 6.1 ee. i wrote on hook for that, it shows by default 5 recent downloaded documents.
once i click "see all button" portlet shoud be maximized and it should show 10 results per page with pagination. I an not able to maximize the portlet.
any idea regarding this is highly appreciated.
thanks,
santhosh
Samuel Kong, modificado 11 Anos atrás.
RE: How to maximize a portlet through hook
Liferay Legend Postagens: 1902 Data de Entrada: 10/03/08 Postagens Recentes
For your portletURL for your "see all button", add the following:
or
portletURL.setWindowState(WindowState.MAXIMIZED)
or
<portlet:renderurl windowState="<%= WindowState.MAXIMIZED.toString() %>" />