Is it possible to check what state the portlet is in (meaning: maximized, normal, minimized) in the portlet Controller (or portlet view JSP)? I am using Liferay 6.1.0 and Spring Portlet MVC.
Is it possible to check what state the portlet is in (meaning: maximized, normal,
Share
You can get the portlet
windowStatefrom theportletRequest.getWindowState(). Compare the value with thejavax.portlet.WindowState.NORMAL,javax.portlet.WindowState.MAXIMIZED,javax.portlet.WindowState.MINIMIZED.