Message Boards
Display React-Portlet in Liferay Backend
Fredi B, modified 3 Years ago.
Display React-Portlet in Liferay Backend
Junior Member Posts: 69 Join Date: 4/1/20 Recent Posts
Hey Liferay-Community and JS-Portlet-Enthusiasts,
I recently tried to display my sample React-Portlet in the Liferay Backend.
For this I created a normal panel-app (the classic way in Liferay IDE) and adjusted it to display my React Portlet.
Sadly it only takes the name of my React-Portlet and links to a blank page. (see Screenshot)
When switching the javax.portletname to a normal Liferay MVC Portlet (with Java) - the portlet is displayed correctly.
Is there a correct way to display a React-Portlet in the Liferay Backend?
Screenshot: https://imgur.com/a/FQV6fqh
Have a good one,
Fredi from Germany
I recently tried to display my sample React-Portlet in the Liferay Backend.
For this I created a normal panel-app (the classic way in Liferay IDE) and adjusted it to display my React Portlet.
Sadly it only takes the name of my React-Portlet and links to a blank page. (see Screenshot)
When switching the javax.portletname to a normal Liferay MVC Portlet (with Java) - the portlet is displayed correctly.
Is there a correct way to display a React-Portlet in the Liferay Backend?
Screenshot: https://imgur.com/a/FQV6fqh
Have a good one,
Fredi from Germany
marvin ros, modified 3 Years ago.
RE: Display React-Portlet in Liferay Backend
Junior Member Posts: 35 Join Date: 5/9/19 Recent Posts
Hi Fredi,
I am also quite interested into using react portlets, sadly there is not much documentation about this so I cant help you there.
I am facing the same issue with a blank page in liferay backend if I list my react Portlet in control panel.
cheers
I am also quite interested into using react portlets, sadly there is not much documentation about this so I cant help you there.
I am facing the same issue with a blank page in liferay backend if I list my react Portlet in control panel.
cheers
marvin ros, modified 3 Years ago.
RE: Display React-Portlet in Liferay Backend
Junior Member Posts: 35 Join Date: 5/9/19 Recent Posts
Hey, i figured out that I only missed this Portlet property:
"javax.portlet.init-param.portlet-title-based-navigation":true
after adding this the js portlet is displayed in liferay backend as a panel app
"javax.portlet.init-param.portlet-title-based-navigation":true
after adding this the js portlet is displayed in liferay backend as a panel app