Step 2 of 6
Liferay’s MVC Portlet framework is used extensively in Liferay DXP’s portlets and
is a popular choice for portlet developers. The
class is a lightweight extension of
method saves you from writing a lot of boilerplate code. MVC portlets can be
upgraded to Liferay DXP 7.2 without a hitch.
Upgrading a Liferay MVC Portlet involves these steps:
Adapt the portlet to Liferay DXP 7.2’s API using the Liferay Upgrade Planner. When running the planner’s Fix Upgrade Problems step, many of the existing issues are autocorrected. For remaining issues, the planner identifies code affected by the new API and ways to adapt it.
After deploying the upgraded portlet, 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 DXP 7.2 instance. Have fun showing off your upgraded portlet!