Upgrading Customization Plugins
Step 3 of 11
Getting a portlet JSP hook running on Liferay DXP 7.2 takes two steps:
-
Adapt your code to Liferay DXP 7.2’s API using the Liferay Upgrade Planner. When you ran the planner’s Fix Upgrade Problems step, many of the existing issues were autocorrected/flagged. For any remaining errors, consult the Resolving a Project’s Dependencies article.
-
Deploy your hook plugin.
Liferay DXP’s Plugin Compatibility Layer converts the plugin WAR to a Web Application Bundle (WAB) and installs it to Liferay’s OSGi Runtime.
Although you can upgrade your portlet JSP hook to Liferay DXP 7.2, there are better ways to override a portlet JSP. The two recommended approaches are
- Dynamic includes
- Portlet filters
For more information on recommended ways of customizing JSPs in Liferay DXP 7.2, see the Customizing JSPs section.