Fórumok

How to maximize a portlet through hook

thumbnail
Santhosh Reddy, módosítva 11 év-val korábban

How to maximize a portlet through hook

New Member Bejegyzések: 23 Csatlakozás dátuma: 2012.10.31. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: How to maximize a portlet through hook

Liferay Legend Bejegyzések: 1902 Csatlakozás dátuma: 2008.03.10. Legújabb bejegyzések
For your portletURL for your "see all button", add the following:

portletURL.setWindowState(WindowState.MAXIMIZED)


or

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