Upgrading Portlet JSP Hooks

Upgrading Customization Plugins

Step 3 of 11

Getting a portlet JSP hook running on Liferay DXP 7.2 takes two steps:

  1. 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.

  2. 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.

« Upgrading Core JSP HooksUpgrading Service Wrapper Hooks »
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 1