Why Aren't JSP overrides I Made Using Fragments Showing?

The fragment module must specify the exact version of the host module. A Liferay DXP upgrade might have changed some JSPs in the host module, prompting a version update. If this occurs, check that your JSP customizations are compatible with the updated host JSPs and then update your fragment module’s targeted version to match the host module.

For example, this bnd.bnd file from a fragment module uses Fragment-Host to specify the host module and host module version:

Bundle-Name: custom-login-jsp
Bundle-SymbolicName: custom.login.jsp
Bundle-Version: 1.0.0
Fragment-Host: com.liferay.login.web;bundle-version="1.1.18"

Finding versions of deployed modules is straightforward.

JSP Overrides using Portlet Filters

Customizing JSPs

Configuring Dependencies

« Why Aren't my Module's JavaScript and CSS Changes Showing?Why doesn't the package I use from the fragment host resolve? »
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0