Search code examples
dependenciesliferayportletstartup

Is it possible to define the order of initialization of portlets on start of portal?


I would like to specify the order of initialization of portlets when the portal server starts.

Is it possible?


Solution

  • Yes, you can specify the order of deployment over the definition of portlet dependency. Set the required-deployment-contexts=MyPrevPortlet in liferay-plugin-package.properties.