Hi,
this is not possible the way you want to do it right now.
I have a more or less working solution for the issue.
First you have to get the maximizing url of your portlet. I did that by extending the JSF portlet class and storing the value in the session as attribute:
public void render(RenderRequest renderRequest,
RenderResponse renderResponse) throws IOException, PortletException {
PortletSession pSess = renderRequest.getPortletSession();
PortletURL maxUrl = renderResponse.createRenderURL();
maxUrl.setWindowState(WindowState.MAXIMIZED);
log.debug("The maxUrl: " + maxUrl.toString());
pSess.setAttribute("maxUrl", maxUrl.toString());
}
In your portlets you can then get the session and extract the max URL. In your JSF page you can then create an external link which will maximize your portlet.
Please note that you cannot navigate to a different JSF page in this case...
kind regards
Tobias
Please sign in to flag this as inappropriate.