Deploying the JSR 286 Portlet on Liferay

Is it possible to deploy any JSR 286 complaint portlet and not Liferay's portfolio (created using the eclipse plugin, etc.) without any changes to the project files or directory structure?

If this is not possible, is there a step-by-step procedure for converting any portlet to a Liferay compatible portlet?

+4
source share
2 answers

Yes, it is possible: you just need to deploy the WAR file in your Liferay distribution or through the interface. Some time ago I wrote a portlet tutorial, created some JSR 286 compatibles, and deployed them. Perhaps they can help you . (Note, however, that to examine some of the properties of Liferay, these portlets do not have a web.xml descriptor β€” they will work in Liferay, but not elsewhere. Just add a descriptor if necessary.)

+4
source

Remember that due to the LPS-60897 error in the Liferay resource importer module, this will not work as advertised (at least in Liferay 6.2). See Also the forum thread that led to the error report.

0
source

All Articles