How to deploy portlets to Liferay?

前端 未结 3 1728
借酒劲吻你
借酒劲吻你 2020-12-09 12:01

I have faced problems in trying to install new portlets to Liferay running on Glassfish domain. I figured out the flow very lately and want to share it with others also. So,

3条回答
  •  遥遥无期
    2020-12-09 12:15

    Below are not for Glassfish but common startup steps:

    To install a portlet in lliferay portal

    • first install liferay portal from below link http://www.liferay.com/en_GB/community/wiki//wiki/Main/Liferay+IDE+Getting+Started+Tutorial

    this requires installation of
        liferay ide
        liferay portal bundled with tomcat
        add this tomcat as run server time and start it, it will start liferay portal 
    

    • create a portlet application

    • open liferay at localhost:8080 and goto Admin -> control panel

    • goto Plugins Configuration

    • goto Intall tab and give location of war file (some logging error might come at tomcat console, ignore it)

    • again goto home page at localhost:8080 and click + button

    • go at the bottom in the list and u will find ur portlet

    • click add button present at the right side of it and ur portlet would be added to the page.

    Modifying code of portel requires to uninstall and install again the portlet from war file. All existing added portlets would also be modified.

提交回复
热议问题