Liferay’s MVC Portlet framework is used extensively in Liferay’s portlets and is a popular choice for Liferay Portal 6.2 portlet developers. The
MVCPortlet class is a lightweight extension of
init method saves you from writing a lot of boilerplate code. MVC portlets can upgraded to Liferay Portal CE 7.0 without a hitch.
Upgrading a Liferay MVC Portlet involves these steps:
Liferay’s Code Upgrade Tool identifies code affected by the new API, explains the API changes and how to adapt to them, and in many cases, provides options for adapting the code automatically.
After upgrading your portlet, deploy it the same way you always do.
The server prints messages that indicate the following portlet status:
- WAR processing
- WAB startup
- Availability to users
You’ve upgraded and deployed your Liferay MVC Portlet on your Liferay Portal CE 7.0 instance. Have fun showing off your upgraded portlet!