I have to get current Liferay Window state in jsp file. I have tried
WindowState.class.toString()
It is giving result class javax.portlet.WindowState
I also try for actionResponse.getWindowState().toString()
It is giving the same result as above.
I just want to check in my jsp file portlet is in which state, and write the conditions accordingly. I am looking for the condition like (actionResponse.getWindowState().toString()).equals(WindowState.MAXIMIZED)
I am getting exception in above condition. By which means I can get current state of the portlet in JSP.