Message Boards

React-Portlet p_p_state=maximized ?

thumbnail
Fredi B, modified 3 Years ago.

React-Portlet p_p_state=maximized ?

Junior Member Posts: 69 Join Date: 4/1/20 Recent Posts
Hey Liferay,
on my mission to explore the power of react portlets in Liferay I observed some strange behaviour when trying to display the React Portlet with p_p_state=maximized.
Precisely, I was not able to display the React Portlet in maximized state. 
How can I achieve this (quite often required state) with a React Portlet?

Cheers,
Fredi
thumbnail
Sushil Patidar, modified 3 Years ago.

RE: React-Portlet p_p_state=maximized ?

Expert Posts: 467 Join Date: 10/31/11 Recent Posts
HiMore details on issue will  be helpful for community to suggest you.Like what is the error if any?
How your creating react portlet?Regards
marvin ros, modified 3 Years ago.

RE: React-Portlet p_p_state=maximized ?

Junior Member Posts: 35 Join Date: 5/9/19 Recent Posts
Hi Sushil,
I guess the problem is that a react portlet is not shown in window state maximized like a liferay mvc portlet is. 
In a Liferay MVC Portlet I can create a portlet renderURL with a windowstate like this:

<portlet:renderurl var="viewJobURL" windowstate="<%=WindowState.MAXIMIZED.toString()%>"></portlet:renderurl>

Is this possible for a react portlet?
thumbnail
Fredi B, modified 3 Years ago.

RE: React-Portlet p_p_state=maximized ?

Junior Member Posts: 69 Join Date: 4/1/20 Recent Posts
As described here:  https://liferay.dev/forums/-/message_boards/message/119027122

javax.portlet.init-param.portlet-title-based-navigation: true makes it possible to view React-App in maximized state.