Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Santhosh Reddy
How to maximize a portlet through hook
3. Februar 2013 23:00
Antwort

Santhosh Reddy

Rang: New Member

Nachrichten: 15

Eintrittsdatum: 31. Oktober 2012

Neue 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
Samuel Kong
RE: How to maximize a portlet through hook
3. Februar 2013 23:45
Antwort

Samuel Kong

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1045

Eintrittsdatum: 10. März 2008

Neue Beiträge

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

1portletURL.setWindowState(WindowState.MAXIMIZED)


or

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