Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: React-Portlet p_p_state=maximized ?
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
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
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
How your creating react portlet?Regards
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:
Is this possible for a react portlet?
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?
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.
javax.portlet.init-param.portlet-title-based-navigation: true makes it possible to view React-App in maximized state.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™