简体   繁体   中英

Deploying a JSR 286 portlet on Liferay

Is it possible to deploy any JSR 286 complaint portlet and not specifically Liferay portlet (created using eclipse plugin etc) without any changes in project files or directory structure?

If it is not possible, are there any step by step procedure to convert any portlet to a Liferay compatible portlet?

Yes, it is possible: you just need to deploy the WAR file in your Liferay deployment dir or through the interface. Some time ago I wrote a tutorial about portlets, created some JSR 286-compatible ones and deployed them. Maybe they can help you . (Note, however, that for exploring some properties of Liferay these portlets has no web.xml descriptor - they will work in Liferay, but not elsewhere. Just add the descriptor if needed).

Mind you, due to bug LPS-60897 in Liferay's resources importer module, this will not work as advertised (at least in Liferay 6.2). See also the forum thread that led to the bug report.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM