掲示板

How to maximize a portlet through hook

thumbnail
11年前 に Santhosh Reddy によって更新されました。

How to maximize a portlet through hook

New Member 投稿: 23 参加年月日: 12/10/31 最新の投稿
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
11年前 に Samuel Kong によって更新されました。

RE: How to maximize a portlet through hook

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
For your portletURL for your "see all button", add the following:

portletURL.setWindowState(WindowState.MAXIMIZED)


or

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