Foren
How to maximize a portlet through hook
Santhosh Reddy, geändert vor 11 Jahren.
How to maximize a portlet through hook
New Member Beiträge: 23 Beitrittsdatum: 31.10.12 Neueste Beiträge
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, geändert vor 11 Jahren.
RE: How to maximize a portlet through hook
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
For your portletURL for your "see all button", add the following:
or
portletURL.setWindowState(WindowState.MAXIMIZED)
or
<portlet:renderurl windowState="<%= WindowState.MAXIMIZED.toString() %>" />