Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Santhosh Reddy
How to maximize a portlet through hook
3 de Fevereiro de 2013 23:00
Resposta

Santhosh Reddy

Ranking: New Member

Mensagens: 15

Data de entrada: 31 de Outubro de 2012

Mensagens recentes

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
Samuel Kong
RE: How to maximize a portlet through hook
3 de Fevereiro de 2013 23:45
Resposta

Samuel Kong

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1393

Data de entrada: 10 de Março de 2008

Mensagens recentes

For your portletURL for your "see all button", add the following:

1portletURL.setWindowState(WindowState.MAXIMIZED)


or

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