Skip to content

ingoschi/liferay-multiple-portlet-test

Repository files navigation

liferay-multiple-portlet-test

A sample project to find a bug/wrong configuration.

This builds a test.war for Liferay 7.4.3.81 with mvn -P cdi clean install

The test.war is based on

com.liferay.faces.archetype.parent 6.1.1

with Portlet 2.0 and JSF 2.2 and CDI Integation.

It still uses Primefaces 6.1.

Bug

This project has three portlets Test 1, Test 2 and Test 3

That are shown in the menu. widgetmenu

But if Test 2 is selected, Test 3 is displayed

wrongportlet

Debug

debug

Debugging shows an javax.servlet.http.HttpServlet.service call at line 623, but HttpServlet has neither in javax.servlet-api-3.0.1.jar nor in release.port.api-7.4.3.81-ga81.jar that line.

It looks like at least the wrong _title "Test 3" was set in the portletResponse during that call.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published