Foros de discusión

How to maximize a portlet through hook

thumbnail
Santhosh Reddy, modificado hace 11 años.

How to maximize a portlet through hook

New Member Mensajes: 23 Fecha de incorporación: 31/10/12 Mensajes recientes
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
thumbnail
Samuel Kong, modificado hace 11 años.

RE: How to maximize a portlet through hook

Liferay Legend Mensajes: 1902 Fecha de incorporación: 10/03/08 Mensajes recientes
For your portletURL for your "see all button", add the following:

portletURL.setWindowState(WindowState.MAXIMIZED)


or

<portlet:renderurl windowState="<%= WindowState.MAXIMIZED.toString() %>" />