Foros de discusión

Issue in maximizing a portlet.

Dev77 liferaydev, modificado hace 12 años.

Issue in maximizing a portlet.

New Member Mensajes: 3 Fecha de incorporación: 31/01/12 Mensajes recientes
Hi all,

I've developed a liferay portlet and i have a problem of maximizing my portlet.

I have few jsp pages in my portlet application and i want to maximize my application from the 2nd jsp page and keep it maximized thereafter. (eg: index.jsp -> result.jsp , i want to maximize result.jsp)

Could someone pls let me know a way to do this?

Thanks.

Regards,

Dev
thumbnail
Jignesh Vachhani, modificado hace 12 años.

RE: Issue in maximizing a portlet.

Liferay Master Mensajes: 803 Fecha de incorporación: 10/03/08 Mensajes recientes
you may have to pass windowstate paramater in render url or action url whichever you are using.
thumbnail
Mayur Patel, modificado hace 12 años.

RE: Issue in maximizing a portlet.

Expert Mensajes: 358 Fecha de incorporación: 17/11/10 Mensajes recientes
<portlet:renderURL windowState="<%= WindowState.MAXIMIZED.toString() %>" var="recentPostsURL"></portlet:renderURL>
Dev77 liferaydev, modificado hace 12 años.

RE: Issue in maximizing a portlet.

New Member Mensajes: 3 Fecha de incorporación: 31/01/12 Mensajes recientes
thank you for your replies.

Here I do a submit from index.jsp page and direct to results.jsp page through struts.xml.
Therefore could you pls state me where do i need to put above tag (in index.jsp or result.jsp)?

thanks,
Dev
thumbnail
Mayur Patel, modificado hace 12 años.

RE: Issue in maximizing a portlet.

Expert Mensajes: 358 Fecha de incorporación: 17/11/10 Mensajes recientes
In Index.jsp where you've written renderUrl/actionUrl in that you can give windowstate , so that next rendering page(result.jsp) which will be displayed in maximized mode