留言板
How to maximize a portlet through hook
Santhosh Reddy,修改在11 年前。
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
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,修改在11 年前。
RE: How to maximize a portlet through hook
Liferay Legend 帖子: 1902 加入日期: 08-3-10 最近的帖子
For your portletURL for your "see all button", add the following:
or
portletURL.setWindowState(WindowState.MAXIMIZED)
or
<portlet:renderurl windowState="<%= WindowState.MAXIMIZED.toString() %>" />